473,770 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1240
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.n ews.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
1270
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 : cannot use this type here without a top-level '^'. When you try to instantiate a native class using gcnew using Visual Studio 2005 Beta 1, you'll get:
10
2594
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 System::Threading::Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA; as the first statment of _tWinMain and also in the DllMain of my mixed mode assemblies.
16
2629
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 control.... *Help* is pretty important. The help feature topics are very badly organized. There is ambiguity and context disorder. The topic headings are misleading and a lot is assumed about the knowledge of the user. Example, *managed code" is...
2
1214
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
1713
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, Professional and Team System. What is the future of VC++ 2005 Standard? Can I somehow buy only VC++ in VS 2005 Standard?
3
1592
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 able to figure out that the problem was come from the following code. # ifdef WIN32 # if defined(MPSC_EXPORT) # define MPSC_API __declspec( dllexport )
2
1339
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 it. // Logger.h class CLogger { public:
5
1908
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 C++, and a novice-level knowledge of OOP in general and Visual Studio in particular. I am not a full-time programmer. I am an aerospace engineer who is trying to make a useful tool. Remember this. Anyway, the task breaks down to this. I've...
27
2771
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 I should know about? Any resources I should check into? thanks, Jason
8
1990
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, NULL, CRect( 0,0,0,0), pParent, pNode->m_nFinsID) )
0
9617
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10099
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10037
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8931
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.