Hi

In VS2010, I have VC++ class in x64 enviornment, when I use
HINSTANCE hDLL = LoadLibrary(L"test.dll"); => test.dll is win32
hDll is NULL

if I use
HINSTANCE hDLL =LoadLibraryExW(L"test.dll",NULL,LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE );
hDll has value.

but when I run
FUNC Setup2004;
Setup2004 = (FUNC)GetProcAddress(hDLL, "SetUp2004");


Setup2004 is NULL.

And, test.dll run in win32 enviroment with above program is well.

So, who could give me some suggestion?

Thanks
Angel