473,394 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

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
2 1220
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Slawomir Lisznianski | last post by:
Do ref classes indeed support instantiation on the stack? Similarly, can native classes be instantiated on gc heap? When you try to have a ref class instance on the stack, you'll get: R :...
10
by: Adriano Coser | last post by:
Hello. I'm moving an application VC 2003 to VC 2005 Beta2. I need to set STA ApartmentState model so the drag & drop registration can work. I used to do...
16
by: John Gabriel | last post by:
The *back* and *forward* butttons do not work. Anyone noticed this? I know this is a beta edition but even for a beta edition, it's hard to believe Microsoft performed any real quality...
2
by: Atlantis11500 | last post by:
Hi guys, as I have downloaded the latest beta2 version of VC 2005. I found that the IDE is not as powerful as vc#. My question is whether vc has lost the important position?
7
by: Mihajlo Cvetanović | last post by:
Hi all, I've been trying to find some info on Visual C++ 2005 Standard on Microsoft's site, but wasn't able to find any. There's only VC++ 2005 Express Edition, and Visual Studio 2005 Standard,...
3
by: lewisksh | last post by:
hi, i have 1 MFC project which is written using VC++2003 but i need to migrate to VC++2005. The program (VC++2003) is working fine. but there is erros occur when running in VC++2005, and i just...
2
by: Allen | last post by:
Last time, i post a topic about inline class member declaration in C++. And in VC6, it does not support inline class member. Now I upgrade to VC 2005. But the compiler doesnot completely support...
5
by: cory.laflin | last post by:
Hi. I have what I believe to be a very simple task I'm trying to accomplish in VC++ 2005 and I simply can't make it work. I have a good working knowledge of C, a basic-to-middling knowledge of...
27
by: Jason Doucette | last post by:
I'm getting an assertion fire from a list iterator being checked against NULL. This did not occur in VC++ 2003 (v7.1). Are there changes that have been made to the STL between these versions that...
8
by: Daniele Piccinini | last post by:
Hi all, In my vc++ 2005 dialog based application i need to use a comunication activex component in a secondary thread: CFINSAxEFS* pNewAx = new CFINSAxEFS(); if ( !pNewAx->Create( NULL,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.