Re: static and global variables in XP

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




I have Windows Studio V. 6.0 but it won't show static and global variables.
Googling in the groups I saw that there is a bug in XP and the usual remedy
is to use Win2000.

Is there any workaround in VC6?


AFAIK no (see also my reply in the kernel newsgroup).

But I am only aware of the problem with static variables, haven't yet heard
that it also affects globals, so that can be a different issue. To be sure, try to create
a new application with statics and globals, build it with the following options
and see if the problem persists:

Compiler: /Zi
Linker: /debug /debugtype:cv /pdb:<filename> / pdbtype:con
(all these options can be set in the project settings in IDE)

Oleg



.