I don't how did you link the application with the dll. Please make sure that
you have given the library file link in the C++ setting tab.
When you compile your dll workspace, it will give you a dll, export file and
a library file. Make sure whether those files exists are not. And go to
Project Settings --> select Link Tab, in the Object/Library module give the
name of the library file. Please make sure that the file exists in the
specified path. If it not exists copy the lib and dll files to your
application folder and compile it and run it.
I hope this will resolve your problem. If you don't want to use the lib file
with the application, then you cannot access the global variable declared in
the dlls.
Avoid making variables in a DLL visible. If you need to set them, have functions that set
them. If you need to see them, write functions to retrieve the values.
What addresses are reported for these variables?
But largely just get rid of the exports of the variable names.
joe
Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm