|
-
February 21st, 2006, 03:37 AM
#1
Using a .NET dll in Visual Studio C++ MFC project
Hi.
I’ve searched for articles of how to implement my new .NET dll in my old MFC application. Firs of all – Is It possible. If I am really glad for tips on how to do it.
All tips are welcomed!
...and justice for all
-
February 21st, 2006, 12:10 PM
#2
Re: Using a .NET dll in Visual Studio C++ MFC project
In order to call your managed dll from C++ or any unmanaged environment, the best way is to wrap it with COM, using the tool regasm.
http://msdn.microsoft.com/library/de...lregasmexe.asp
You can then call the dll as any other COM dll.
-
February 22nd, 2006, 02:13 AM
#3
Re: Using a .NET dll in Visual Studio C++ MFC project
OK!! Thanks!
I've googled for Regasm.exe but I can not find it. Any clue...
...and justice for all
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|