I am trying to load a 32-bit dll using C ++ (from a 32-bit application, on Windows 7 64-bit). LoadLibrary returns NULL, and GetLastError returns 126 for "The specified module could not be found."
I pass the full address of the LoadLibrary function. I opened the DLL in Dependency Walker, which said GPSVC.dll is a missing dependency.
From googling, which I did, it seems that Dependency Walker often mistakenly shows this GPSVC.dll file as a missing dependency, and there is no 32-bit version of it, so I don't think the actual problem.
I have not done too many finalists with dlls in the past, so hopefully this is a relatively simple problem that I can learn about.
Thanks in advance for your help!
source share