Expose a COM interface that exists in a dll through a .NET assembly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nabil035
    New Member
    • Mar 2008
    • 34

    Expose a COM interface that exists in a dll through a .NET assembly

    Hi,

    I have a DLL that exposes interfaces (compiled with VC++ 6.0)

    I've used exported functions(not interfaces) of this DLL in a .NET project and everything is alright.

    The problem is that the built assembly (exe) do not expose the interfaces of my DLL, thing that it is done automatically in a native C++ project.

    Can anyone helps??

    Regards.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    I believe you are running into protection issues because your program is using a CLR. I would research MSDN and study up on interoperabilty . There are many topics about this.

    Comment

    Working...