Forum Discussion
Abramova
Staff
14 years agoHello Sergey,
Such a problem can occur if you specify a 64-bit host application (in your case, DLLHost.exe) for your 32-bit module. In Windows, the process and module must have the same "bitness", that is, you can load 32-bit modules only to 32-bit processes.
I suppose that you specify C:\Windows\system32\dllhost.exe as the host application. This application is 64-bit, but the dll you need to profile is 32-bit.
To solve your problem, try specifying C:\Windows\SysWOW64\dllhost.exe as the host process. This application is 32-bit.