howto call a c# dll from c++

  • Thread starter Thread starter xp2002
  • Start date Start date
X

xp2002

Does anyone know how to do this?

Since it seems that the script language cannot communicate with c#, but only
with c++
I was wondering if it's possible to call C# code from c++?

anyone done this? how?

thanks!
Angelo
 
Thanks via Com it worked for me!

grtz,
Angelo


Scott Allen said:
You'll have to either write managed C++ [1], or expose your C# class
as a COM object [2].

[1]
http://msdn.microsoft.com/library/en-us/vcmex/html/vcconMCOverview.asp?frame=true
http://msdn.microsoft.com/library/d.../html/vcwlkcominteroppart2cservertutorial.asp

--
Scott
http://www.OdeToCode.com/blogs/scott/

Does anyone know how to do this?

Since it seems that the script language cannot communicate with c#, but only
with c++
I was wondering if it's possible to call C# code from c++?

anyone done this? how?

thanks!
Angelo
 
Back
Top