E
eljainc
Hello,
I have 3 or 4 source code files that were written in VC++ (an earlier
version, like VC++ 6.0). I need to be able to use the code in my
C# .NET 2.0 forms program. I have tried to add existing items
(the .CPP files) to a new VC# project. How do I go about accessing the
methods and variables in those .CPP files. I have read about creating
a wrapper DLL for the CPP files so that unmanaged C++ code can be
accessed. However I have yet to find a good tutorial or explanation on
how to create the DLL file from the original .CPP/H files. I have
tried to make a class in a VC++ project, but I cannot provide the
necessary "glue" to get the functions/methods accessible.
Thanks for any help.
Mike
I have 3 or 4 source code files that were written in VC++ (an earlier
version, like VC++ 6.0). I need to be able to use the code in my
C# .NET 2.0 forms program. I have tried to add existing items
(the .CPP files) to a new VC# project. How do I go about accessing the
methods and variables in those .CPP files. I have read about creating
a wrapper DLL for the CPP files so that unmanaged C++ code can be
accessed. However I have yet to find a good tutorial or explanation on
how to create the DLL file from the original .CPP/H files. I have
tried to make a class in a VC++ project, but I cannot provide the
necessary "glue" to get the functions/methods accessible.
Thanks for any help.
Mike