Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Injecting C# code

Status
Not open for further replies.

mcox05

Programmer
Apr 25, 2006
25
0
0
US
Was wondering the steps that are necessary to import C# code into an existing c++ assembly ... Any ideas?

Was considering the idea of creating DLLs then importing them into the C++ classes but I've never tried that so I'm kidna in the dark
 
If both your C++ and C# code is CLR compliant, all you should have to do is set a reference to the C# assembly and then just call it.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top