none
How to create x64 ActiveX controls for Internet Explorer 64 on Vista/7 64 editions ?

    Question

  • Hi everybody,

    I'm developping an ActiveX control for Internet Explorer 64 on Vista/7 64 bits editions, but i can't manage to perform its installation through the browser.

    I first generated a DLL with VC2005 (x64 configuration) and then packaged it into a signed cab file, but when i call the cab in my web page then the ActiveX installation pop-up keeps going to appear and the ActiveX is never installed.

    Note : i tried to manually register this DLL (calling 'regsvr32 myDLL.dll') and then launch the web page into IE64 : as the DLL was already registered, it worked. So I assume it's not a dependency or 64 bits compatibility issue.

    Is there some kind of x64 specific mecanism to use (.reg, .inf) to register the DLL directly from the web page ?

    Thanks in advance.

    samedi 10 octobre 2009 12:27

Réponses

  • I found a solution : simply replace "file-win32-x86=" by "file=" to give for each DLL its including cab :

    [Add.Code]
    Dll_1.dll=Dll_1.dll
    (...)
    Dll_n.dll=Dll_n.dll

    [Dll_1.dll]
    file=thiscab
    FileVersion=...
    RegisterServer=...
    (...)

    [Dll_n.dll]
    file=thiscab
    FileVersion=...
    RegisterServer=...
    (...)

    • Marqué comme réponse _ Alex lundi 19 octobre 2009 18:49
    lundi 19 octobre 2009 18:49