locked
How to access an VC++ ActiveX dll with UI from a non-IE browsers? RRS feed

  • Question

  • I’ve a legacy VC++ ActiveX dll with UIs.

    This ActiveX dll can be used only in the same workstation but through browser (IE only, because of its other dependencies.

    Now there is a requirement from the customers that it should be accessible and behave same from other browsers like Chrome, Safari and FF.

    Writing plug-ins for each browser, asking the customer to install it and maintaining those plug-ins is not feasible.

    So I tried the following options:

    1.            With node-ffi ( Node.js addon) but this can be used only for loading and calling native dynamic libraries but not ActiveX instantiating and rendering in browser.

               a.       Cannot use Node.js -> win32ole as it works only in IE.

    1.            Wrapping the unmanaged COM dll to an interop dll, exposing the methods and events from this wrapper, as end points using REST WCF service ( HTTP bindings and WebGet/ WebInvoke contracts attribute).

             a.      The above approach works fine for regular COM dll but not for VC++ ActiveX dll.

    Is it possible someway to wrap the unmanaged ActiveX dll and expose this wrapper to be consumed by non-IE browsers/ JavaScript, using .NET or any other MS technologies?

    Thank you in advance,

    Subrat


    SP

    Sunday, October 29, 2017 3:16 PM

Answers

  • For web development I'd ask over here in microsoft official ASP.Net forums.

    https://forums.asp.net/37.aspx/1?C+

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Just Karl Monday, October 30, 2017 4:24 PM
    • Marked as answer by Just Karl Wednesday, November 8, 2017 5:28 PM
    Monday, October 30, 2017 2:21 AM

All replies

  • Hi SP,

    Thanks for your post.

    This forum is used to discuss about WCF Developing issue, based on your description, it seems your issue is related with ActiveX control instead of WCF.

    I did not find any suitable forum for your issue, I will move it to Where is the Forum For…?. The moderator will guide you the suitable forum.

    Thanks for your understanding.

    Best Regards,

    Edward


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, October 30, 2017 1:55 AM
  • For web development I'd ask over here in microsoft official ASP.Net forums.

    https://forums.asp.net/37.aspx/1?C+

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Just Karl Monday, October 30, 2017 4:24 PM
    • Marked as answer by Just Karl Wednesday, November 8, 2017 5:28 PM
    Monday, October 30, 2017 2:21 AM