UnSkiLd
October 19th, 2005, 10:42 AM
I was hoping someone can answer a question for me. I have an unmanaged dll that was written in C++ 6 as a win32 dll.
I want to add this to a managed dll so I can reference it inside a .Net application and use the functions written in C++ 6.
My question is, do I have to create a class for the old C++ 6 code to go into.
Reason for this question is that I can open up the old project now and have a .cpp file and a .h file with just straight code, no classes created within it. Its pretty straight forward.
But from the examples of mixing code that I found on the internet it seems that all the unmanaged code they used were incorporated in a class.
Any help would be appreciated.
I want to add this to a managed dll so I can reference it inside a .Net application and use the functions written in C++ 6.
My question is, do I have to create a class for the old C++ 6 code to go into.
Reason for this question is that I can open up the old project now and have a .cpp file and a .h file with just straight code, no classes created within it. Its pretty straight forward.
But from the examples of mixing code that I found on the internet it seems that all the unmanaged code they used were incorporated in a class.
Any help would be appreciated.