managed dll (C#) call from unmanaged (win32) C++ project

Hello!

I have a problem. I have an unmanaged c++ project, where I would like
to use a C# project (dll).

I used the TlbEXp.exe, that convert C# dll to .tlb.
And I import the generated tlb in C++ project.
The intelisense show me the namespaces, and classes, but don't show
the methods of classes.

the source: www.trender.hu/user/uracs/c.zip

please see connect.h

Can you help me


Laszlo Uracs 



Answer this question

managed dll (C#) call from unmanaged (win32) C++ project

  • Ryan Ternier

    Hi,

    I have a same problem with Laszlo, but I have to use .NET 2002.
    Is there any other solution

    Thanks


  • Stovesy

    Hi Laszlo,

    I'm glad to report this problem does not occur in Visual Studio 2005, and I encourage you to try Visual C++ Express 2005, which is free when you get a chance. It seems like you are exhibiting this behavior using Visual C++ 2003 and I'm not sure what the cause may be at this point. You may come across a previously posted solution on the Visual C++ newsgroups (microsoft.public.dotnet.languages.vc and microsoft.public.vc.ide_general)

    Thanks,

  • managed dll (C#) call from unmanaged (win32) C++ project