Link to home
Start Free TrialLog in
Avatar of SparrowVideo
SparrowVideo

asked on

Adding C# code to a legacy C project

OK,

I have inherited a 10-15 year old C project.  It compiles and runs fine using MS Dev Env 2003 Version 7.1

I would like to start adding some new functions, er, methods, using C#.  Is it possible to intermix C# code with C ?  Is there some magic Paragma statement that will keep the linker happy?
ASKER CERTIFIED SOLUTION
Avatar of jimwasson
jimwasson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Greg-

I don't think you can do that with C#...only Managed C++...right?
you can call the C# though ... aand in 2005 remember tht you can interchange languages.