How to make a Third Party CLI DLL into a native one so that VC++ can see and use it? RRS feed

  • Question

  • Question is in the title. Need to convert, assuming I have no knowledge of what is in the DLL because it was generated by IKVM.
    • Moved by Baron Bi Tuesday, June 26, 2018 9:10 AM Third-party library issue
    Friday, June 22, 2018 5:29 AM

All replies

  • Well, you can't literally "convert" the DLL, but there are a couple of approaches.  One way is to write a Managed C++ wrapper that calls the DLL, and then call your Managed C++ routines from your native C++ code.


    The task is easier if the DLL is a COM server.  Is it?

    Tim Roberts, Driver MVP Providenza & Boekelheide, Inc.

    Friday, June 22, 2018 8:00 PM
  • Hi,

    thanks for posting here.

    As Tim said, you couldn't convert the DLL. But you could use c++ interop to call between native and managed c++ codes.

    Besides, for third-party issues, please post on their support forum. For example:


    Your understanding and cooperation will be grateful.

    Best Regards,

    Baron Bi

    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, June 25, 2018 8:13 AM