I am trying to figure out the best way to rewite a Vis C++ v6 dll that is part of a Commercial Software Package. I was wanting to do it in C#,and hopefully use some of old C++ code. Does anyone have an idea what the best way to approach this problem. Also I will need new C# or C++.net DLL to still work with Vis C++ v6 package, including being able to navigate from a menu back to othe parts of application in ver 6 C++ from c# dll, and still have a seamless application with new C# or C++.net dll included in Build of Ver 6 C++
Thanks

USING VIS c++ V 6 WITH c# OR c++.NET
meenakshi sundaram
Your easiest path is C++/CLI, that is, a C++ dll that uses .NET. You can write a dll that exposes one class, and have that class take an instance of an unmanaged class, and manipulate it using exposed methods that mirror the methods in the old code. Then this code will import into C# without any problems.
Julien Erard
pragaw
I don't know of any samples, but I'm sure google does :-)
No, your VC6 app will become reliant on the .NET framework. Why are you sticking with VC6 It's really rubbish, compared to 2002 and beyond ( and not because of .NET, because of the C++ implimentation ).
DSimmons
Thanks for your reply. is there anywhere I might see an example or read more about this Also would this work to Build the C# dll again in Vis C++ app and still have a seamless Vis C++ v6 app
Thanks very much,
Jack