How to access a member function of a unmanaged c++ dll from c# RRS feed

  • Question

  • Hi All,

            I am having a dll of unmanaged c++, and I want to call a member method of a class in that c++ dll from my managed c# code.

    Tried using DllImport Attribute, it works only in case of static method, no hint how to call member method. Please help.

    I read somewhere that I can do that by writing a COM wrapper on that unmanaged c++.But I have no exp. of working with c++ or com. Plz help.


    Thanks in Advance


    Monday, May 31, 2010 8:34 AM


All replies