CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: FredEx42

Search: Search took 0.09 seconds.

  1. Replies
    10
    Views
    16,914

    Re: Access my C# dll in C++

    I found the problem -- I wasn't appending "Ptr" to the interface name in the .cpp file. Thanks for replying.
  2. Replies
    10
    Views
    16,914

    Re: Access my C# dll in C++

    I get the same errors as reported at the start of the thread, starting with:

    1>CppTest.cpp(16): error C2259: 'DoIt::IDoIt' : cannot instantiate abstract class
    1> due to following...
  3. Replies
    10
    Views
    16,914

    Re: Access my C# dll in C++

    [QUOTE=darwen;1746816](1) You need to add a [Guid(...)] attribute to your IMessage and MyTest classes. You need to generate unique GUIDs for both. See here. Then re-run regasm on your dll.

    I tried...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured