R
Rajesh
Hi
I am using VC 6.0 on Win2k
I have multiple win32 static libs... each of the lib has global
variables and in the constructor of these variables i have
registeration code. This registeration code is a external function
whose implementation is in the dll..
But when I link and get the dll... these global variables seems to be
missing and the constructor code never gets executed.
Is the variables getting eliminated by the linker as it is not getting
directly used anywhere in the lib?
Is there a way I can avoid this and say export all symbols?
Regards
Rajesh
I am using VC 6.0 on Win2k
I have multiple win32 static libs... each of the lib has global
variables and in the constructor of these variables i have
registeration code. This registeration code is a external function
whose implementation is in the dll..
But when I link and get the dll... these global variables seems to be
missing and the constructor code never gets executed.
Is the variables getting eliminated by the linker as it is not getting
directly used anywhere in the lib?
Is there a way I can avoid this and say export all symbols?
Regards
Rajesh