Groups | Blog | Home
all groups > c# > february 2004 >

c# : acessing C# classes from non-managed C++


Daniel Jin
2/12/2004 3:46:06 PM
Yordan Gyurchev
2/12/2004 11:22:27 PM
We have a plugin based app in C# but due to other exisiting
legacy products and tools we need to access some of
the "new" C# classes from these old MFC and C++ products.

I've looked on the web but I can only find info about accessing
C# classes from Managed C++.

Can you point me to any source of such information (article,
tutorial, reference)?

Thanks,
Yordan

Cezary Nolewajka
2/13/2004 10:24:37 AM
AFAIK, the only way to do this is using the Interop, make the ufnctionality
available with contructing the C# projects as available to COM components:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconpackagingassemblyforcom.asp

--
Cezary Nolewajka
mailto:c.nolewajka-no-sp-am-eh@no-sp-am-eh-mail.com
remove all "no-sp-am-eh"s to reply


[quoted text, click to view]
AddThis Social Bookmark Button