Re: How to access a static member variable within __asm { }
From: Joseph M. Newcomer (newcomer_at_flounder.com)
Date: 02/26/04
- Next message: Joseph M. Newcomer: "Re: Linker error - fooView.obj LNK2005: _IID_IProvideTaskPage already defined in fooDoc.obj"
- Previous message: ZZT: "Re: How to access a static member variable within __asm { }"
- In reply to: ZZT: "How to access a static member variable within __asm { }"
- Next in thread: ZZT: "Re: How to access a static member variable within __asm { }"
- Reply: ZZT: "Re: How to access a static member variable within __asm { }"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 05:30:10 -0500
Show the declaration, the context in which you are writing the __asm insertion, and the
__asm insertion itself. Otherwise, the answer is "you are doing something wrong". There
are so many things you could do wrong that it is hard to even start enumerating them. But
it might be obvious from context what happened.
joe
On Thu, 26 Feb 2004 10:35:30 +0100, ZZT <a@b.c> wrote:
>Hello everybody,
>
>I am trying to access a static member variable within an __asm { }
>code but the compiler always tells me that its not know. If you access
>the variable outside the __asm { } code its working. When I try to
>access inside, I can only access variables that are declared/defined
>within the same function.
>I tryed "Class::variable" and "variable" but nothing is recognized from
>the compiler. Do you have any hint to access the static variables,
>without defining pointer-variables in the function?
>
>Best Regards
Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
- Next message: Joseph M. Newcomer: "Re: Linker error - fooView.obj LNK2005: _IID_IProvideTaskPage already defined in fooDoc.obj"
- Previous message: ZZT: "Re: How to access a static member variable within __asm { }"
- In reply to: ZZT: "How to access a static member variable within __asm { }"
- Next in thread: ZZT: "Re: How to access a static member variable within __asm { }"
- Reply: ZZT: "Re: How to access a static member variable within __asm { }"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|