VC++ 2003 or VC++2005.Net for Native Code Support?

J

James S

Hi

I've been porting a project to .Net that has several segments of code that I
would like to keep as native code in wrappers. I've been using VS2003 and
VC++ to create mixed dlls that I then can used from C#.

I see that the new 2005 version has a new and significantly different syntax
and way of doing things with native code, and was wondering if anyone has
any experience of using the new version to perform this sort of task. And
more importantly, if they would recommend using the 2005 version over the
2003 version. I've seen reports that it can run faster, and does not have
the dll load lock bug etc. I've not been able to see anything on the new
versions reliabilty and ease of use, etc.

Any comments on this, or links to anywhere this is discussed would be most
appreciated. I've tried searching for this kind of thing, but most the time
it seems to just take me back to the MSDN material.

Many thanks

James
 
C

Carl Daniel [VC++ MVP]

James said:
Hi

I've been porting a project to .Net that has several segments of code
that I would like to keep as native code in wrappers. I've been using
VS2003 and VC++ to create mixed dlls that I then can used from C#.

I see that the new 2005 version has a new and significantly different
syntax and way of doing things with native code, and was wondering if
anyone has any experience of using the new version to perform this
sort of task. And more importantly, if they would recommend using the
2005 version over the 2003 version. I've seen reports that it can run
faster, and does not have the dll load lock bug etc. I've not been
able to see anything on the new versions reliabilty and ease of use,
etc.
Any comments on this, or links to anywhere this is discussed would be
most appreciated. I've tried searching for this kind of thing, but
most the time it seems to just take me back to the MSDN material.

My $0.02 worth -

Use 2005 if you have the choice.

-cd
 
M

Marcus Heege

The important question is: Is it acceptable to implement your application so
that it can only run with v 2.0 of .NET.

If yes, then VS2005 is the only sensible option IMO. The old managed
extension syntax is not only ugly, it is a dead end syntax. It is still
possible to compile the old syntax with VS 2005, but due to the new syntax
it will significantly loose relevance.

Marcus Heege
 

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