By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,903 Members | 1,670 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,903 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
James S wrote:
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
Nov 17 '05 #2

P: n/a
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

"James S" <no****@noSpam.comSpam> wrote in message
news:1D*****************@fe2.news.blueyonder.co.uk ...
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

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.