I’m writing some HBO for Internet Explorer in Visual Studio 2010. On my development machine all works great. To register DLL i use system tool regsvr32 like following.
regsvr32 plugin.dll
However, when I try to do the same on other machine I get an error message saying that system couldn’t load DLL module. I’m pretty sure path to my extension DLL is correct, so I believe that system doesn’t meet other dependencies. In VS I build my plugin in “Release” mode, so it should include all necessary things to run somewhere else. I also changed /MD to /MT (friend’s advice – sadly it is not working).
I’ve been searching system event log against additional information but without success. What I have to do then? I mean how to check which libraries should I have on the other machine (or maybe it’s obvious – then just tell me the names).
EDIT: I found a solution, maybe someone will find it helpful: add “atl.lib” without quotes to Linked additional dependencies in Visual Studio and all should work fine.
Regards
The solution is: add “atl.lib” without quotes to Linked additional dependencies in Visual Studio and all should work fine.