LoadLibrary error 127 on W7 X64
-
Hi all, I am frustrated after week of searching for reason to unresolved import error from LoadLibrary function trying to load my own DLL compiled with /MD (which uses custom [same computer and same VS2005] compiles of Proj 4, Geos 3.3.1, SpatiaLite 3.0.0 beta1 and SQLite3 - all compiled with /MD as well). I have looked into it using Dependency Walker and the reason surprisingly seems to be kernel32.dll. There are missing following imports: InterlockedCompareExchange InterlockedDecrement InterlockedIncrement InterlockedExchange I do not use those in my code, but for example msvcr80.dll internally does. DLLs work fine on my Vista x64 notebook and also work fine on another x64 Win7, but not on mine - compile machine. I have installed correct redist. and so on, but the main problem is that IT DOES NOT WORK ON DEV MACHINE!!! Did you ever seen this? I can compile it, but can not load it :( I can load separately Proj, Geos and SQLite, but can not load SpatiaLite. My system: Windows 7 x64 Visual Studio 2005 (with needed service packs) Thanks, Dusan
-
Hi all, I am frustrated after week of searching for reason to unresolved import error from LoadLibrary function trying to load my own DLL compiled with /MD (which uses custom [same computer and same VS2005] compiles of Proj 4, Geos 3.3.1, SpatiaLite 3.0.0 beta1 and SQLite3 - all compiled with /MD as well). I have looked into it using Dependency Walker and the reason surprisingly seems to be kernel32.dll. There are missing following imports: InterlockedCompareExchange InterlockedDecrement InterlockedIncrement InterlockedExchange I do not use those in my code, but for example msvcr80.dll internally does. DLLs work fine on my Vista x64 notebook and also work fine on another x64 Win7, but not on mine - compile machine. I have installed correct redist. and so on, but the main problem is that IT DOES NOT WORK ON DEV MACHINE!!! Did you ever seen this? I can compile it, but can not load it :( I can load separately Proj, Geos and SQLite, but can not load SpatiaLite. My system: Windows 7 x64 Visual Studio 2005 (with needed service packs) Thanks, Dusan
You did not say exactly what the LoadLibrary error is. Have you resolved this already?
The difficult we do right away... ...the impossible takes slightly longer.
-
You did not say exactly what the LoadLibrary error is. Have you resolved this already?
The difficult we do right away... ...the impossible takes slightly longer.
Yes I did. Error was due to different version of SQLite than I link in system32 directory.