Error LoadLibrary project.dll. The specified module could not be found.

When I try to register a 32 bit version of my C ++ / ATL project with

regsvr32 project.dll

I get this error:

LoadLibrary("project.dll") failed - The specified module could not be found

project.dll is my dll built using ATL on Visual Studio 10.

The 64-bit version is perfectly registered.

What am I missing?

+5
source share
3 answers

I observed this same error, but the solution did not install the redistributable. All dependent DLLs were present in system 1 , depending on depend.exe.

KERNEL32.DLL . Depends.exe , , DLL . , DLL . PI, .

Seeing the missing import

, Windows XP. , #define :

#define WINVER 0x0501
#define _WIN32_WINNT 0x0501

, ​​ , , . regsvr32. , , ( ) . - API-, . DLL, , . , , , .

, 2 :

  • DLL . .
  • DLL .
  • DLL. DLL, , , Windows. DLL, .

1: IESHIMS.DLL WER.DLL, , -, ​​ .
2: , DLL

+5

. DLL (project.dll), ( ) DLL .

+2

Microsoft Visual C++ 2010 Redistributable Package 

DLL.

, , , dll .

+1

All Articles