MC++ or WIN32/C ?

A

angshuman

Hi,
I want to port the Solaris 5.8 C-Code (Mixed Endian Code) to Windows
x64/
x86 platform for a .Net project. What is the best approach to
accomplish this ?

1. Should I first port to WIN32/C (using BIT shifting for enadianness)
and then introduce a PInvoke layer ?

OR

2. Should I use Managed C++ so that I directly get the support for
Managed Code as well as object access through pointers ?


Please sugest. Thanks In Advance


regards
Angshuman.
 
V

Vadym Stetsiak

Hello, Angshuman

If ported code will interact much with unmanaged code (call C API)
Then it can be better to use Managed C++

To give more presice advice it will be better to know more details about
that ported code: what code it will interact with; it is possible to do all
the stuff in the managed way etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top