Rob,
When migrating from C++, you have little choice but to re-write it. The
only other options you have are providing a managed wrapper to the C++ code
you have, or exposing it as a COM object, and then using it in C#.
Do you expose your code through functions, or COM objects already? If
you do, then you don't really have to do much. However, if you have C++
classes only, or nothing that is exportable, then you are going to have a
difficult time of it, based on the classes and their relationships with each
other (pointers, etc, etc).
Can you give more information about the project?
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Rob" <Ro*@discussions.microsoft.com> wrote in message
news:9E**********************************@microsof t.com...
Well I'm sure most of you guys that converted from C++ to C# had this
problem: how can I bring my C++ code over? (in my case it would be much to
difficult to rewrite it) I need to bring over a few classes and structs.
Being a complete beginner to C#, almost everything I read on the subject
looks incredibly confusing, so I have come to you guys, the experts. What
do
you think would be the easiest way to migrate my C++ code into a brand new
C#
project?
Thanks in advance.