calling c# from c++ examples

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I have a class in c# which i can use in VB. I'm trying to work out if (and
how) i can use this class in VC++. I've done some research and from what i
can tell it is possible, are there any simple examples of these on-line (or
does anybody have one - just a simple hello world style example.

Regards
 
Is this a managed C++ app / library? If so, just reference the C# dll with
the "using" keyword. If it's a regular C++ program you'll need to use regasm
to generate (and register) a COM type library and then use it as you would
with any other COM object.


Arild
 
Back
Top