Hello gurus,
I am compiling some external C++ code into a dll using Visual Studio 2008. The code is wrapped in extern "C".
Since I am cross compiling, creating a 64 bit dll on my 32 bit machine; I am using x64 as "Active solution platform" in the "Configuration Manager".
My dll compiles and links successfully. However when I open it in Dependency Walker (depends.exe) I notice something strange: My dll is marked as 64 bit. My dll however depends on C:\windows\system32\ntdll.dll and C:\windows\system32\kernel32.dll which are 32 bit! As a result Dependency Walker gives me the following errors: "Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module. Error: Modules with different CPU types were found."
What is going wrong here?
Thanks in advance for any answers!