MC++ or WIN32/C ?

  • Thread starter Thread starter angshuman
  • Start date Start date
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.
 
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.
 
Back
Top