activex and IE7

Hello,

I'm testing activex and IE7. My activex works with IE6 but I try it with IE7 it doesn't work....

I got:

LOG: File C:\WINDOWS\Downloaded Program Files\mydll.dll being registered.
ERR: Setup Failed Error Code: (hr) = 800736b1, installing: mydll.dll to (null) destination code(0)
LOG: Reporting Code Download Completion: (hr:800736b1 (FAILED), CLASSID: e0e7c46e..., szCODE:(https://xxxxxxxx/demo/my.cab), MainType:(null), MainExt:(null))

Do you have any ideas?

Henri

[598 byte] By [henri.ks] at [2007-12-30]
# 1
Do you get an error if you manually regsvr32 mydll.dll on the target machine? I suspect you need to change your C++ code-generation to use a statically-linked version of the ATL and VC runtime libraries.
EricLaw-MSFT at 2007-9-5 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Web Development...
# 2
Yes, I do. There are many dll dependencies. I would like to compile ATL so that there are as little as possible dll dependencies. How could I do that? I'm using VS2005. What should I change project properties?
henri.ks at 2007-9-5 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Web Development...