Viewing DLL variables in watch window
- From: Frankie D. <FrankieD@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 8 Sep 2008 09:10:11 -0700
Suppose you have code like this:
__declspec(dllimport) double myVariable;
int _tmain(int argc, _TCHAR* argv[])
{
double d = myVariable;
}
where "myVariable" was actually a global-scoped variable in a DLL.
When you step through in the debugger, the variable "myVariable" is no where
to be found. (CX0017 Error: Symbol not found)
I try to use dll scoping operator ( {,,dllname}myVariable )
However it helps in a normal Win32 app (WinXP), but does not works in a
native smart device project project (CX0004 Error: syntax error)
Am I missing something here? Is there an option like "just my variables and
just my code" that I do not have turned off? Is there a syntax for the watch
window that I can use to display values?
Thanks for any help.
Frankie
.
- Follow-Ups:
- Re: Viewing DLL variables in watch window
- From: Paul G. Tobey [eMVP]
- Re: Viewing DLL variables in watch window
- Prev by Date: Re: Running an Executable automatically after OS boots up
- Next by Date: Re: Viewing DLL variables in watch window
- Previous by thread: Kiosk Mode mouse problems
- Next by thread: Re: Viewing DLL variables in watch window
- Index(es):
Relevant Pages
|