Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MC++ or WIN32/C ?

0 views
Skip to first unread message

angshuman

unread,
Nov 22, 2009, 3:51:13 AM11/22/09
to
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.

Vadym Stetsiak

unread,
Nov 22, 2009, 8:18:52 AM11/22/09
to
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.
--
Vadym Stetsiak
http://vadmyst.blogspot.com

"angshuman" <angshuma...@gmail.com> wrote in message
news:a3b9df17-6b12-457b...@f20g2000prn.googlegroups.com...

0 new messages