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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Greg-
I don't think you can do that with C#...only Managed C++...right?
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.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vcerrManagedUnmanaged.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/manunmancode.asp