Hi Mark,

the installer has to use LoadLibrary Windows API when you call your DLL from within the installer. And this call fails.

Before the installer can call a function from within your DLL, it has to load it using the LoadLibrary Windows API. The installer is not even processing your DLL at this stage. It just uses the Windows API to load your library.