473,499 Members | 1,579 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Basic Question About Moving From VC 6.0 to VC.NET 2003

Hi all,

If i compile my VC 6.0 code with the VC.NET 2003 compiler (unmanaged
C++), then can the compiled executable be run on a machine without the
..NET architecture?

Thanks!

Nov 23 '05 #1
5 993
Yes.

<ma********@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Hi all,

If i compile my VC 6.0 code with the VC.NET 2003 compiler (unmanaged
C++), then can the compiled executable be run on a machine without the
.NET architecture?

Thanks!

Nov 23 '05 #2
On 23 Nov 2005 14:02:02 -0800, ma********@gmail.com wrote:
If i compile my VC 6.0 code with the VC.NET 2003 compiler (unmanaged
C++), then can the compiled executable be run on a machine without the
.NET architecture?


Yes. You should be aware that there may be issues if its an MFC
application, because VC7 uses macros that differ from those used in
VC6 (there's less of them). So if you maintain the code in VC7 for a
while then want to recompile it in VC6 (maybe the maintenance
programmer doesn't have VC7, say), you'd have a problem. I gave up
working with VC7 on code that had to be maintainable under VC6 for
partially this reason (I also couldn't stand the IDE of VC7).

That's the only issue I've come across, other than the VC7 compiler
being a bit pickier about adherence to the C++ standard.

--
Bob Moore
http://bobmoore.mvps.org/
(this is a non-commercial site and does not accept advertising)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~
Do not reply via email unless specifically requested to do so.
Unsolicited email is NOT welcome and will go unanswered.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~
Nov 24 '05 #3
> If i compile my VC 6.0 code with the VC.NET 2003 compiler (unmanaged
C++), then can the compiled executable be run on a machine without the
.NET architecture?

Yes and the same is true for VS 2005.
Nov 25 '05 #4
Thanks y'all for the helpful insight!

Nov 28 '05 #5
Something to think about ...

I created a completely new (managed) 2003 Forms application.

I sent it off to the client to be tested and it failed immediately with
a nasty crash. The client moved it from machine to machine and it
worked on some but not others.

The answer is: A (managed?) 2003 .Net application has to have the .Net
environment installed. Once we installed it, the application worked
fine.

I'm not happy that the crash did not say anything useful ... like "Hey,
dummy, you need to have .Net installed."

So the question becomes: If you extend your ported (unmanaged) MFC
application with managed code, will you need to have the .Net
environment instaled? Can you resist the temptation to use managed
code?

I don't know the answer to those questions; but I'd particularly like
to get the answer to the first one.

Ralph

Nov 29 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
9442
by: Nick Stansbury | last post by:
Hi, Access 2003. Running over terminal server on a Windows Server 2003 box. The error occurs on every machine that I've tried copying the file to. Latest Jet SP & Office SP. Database hasn't been...
4
2214
by: Ramesh | last post by:
hi, Let me ask some basic questions. Can anybody explain me about the following questions: 1. When we have to create sn key? Whenever we compiled Component we have to create or it is a one time...
14
1699
by: Steve | last post by:
Sorry in advance for my ignorance. Any help would sure be appreciated. I'm writing a fairly simple application with VB.Net and am obviously a bit of a newbie. This application will be used by 1,...
13
15524
by: Pete | last post by:
I'm cross posting from mscom.webservices.general as I have received no answer there: There has been a number of recent posts requesting how to satisfactorily enable BASIC authorization at the...
5
3770
by: Microsoft | last post by:
Hi, I have Visual Basic .net 2003 (Standard Edition) & SQL Server 2000 Developer Edition. When trying to create a connection in the server explorer from the .net IDE I get a number of problems;...
6
1901
by: Carol | last post by:
Hi. When I try to run Visual Studio 2003 I get the message "MS development environment is not installed for the current user. Please run setup to install the application." Is there any way to...
2
2065
by: CAM | last post by:
Hello, I am wondering if someone can give me some pointers. Currently I am using Access 2002 I developed an inventory tracking database, which this database is used in California and in...
97
5412
by: Master Programmer | last post by:
An friend insider told me that VB is to be killled off within 18 months. I guess this makes sence now that C# is here. I believe it and am actualy surprised they ever even included it in VS 2003 in...
8
2843
by: Chris Asaipillai | last post by:
Hi there I have some questions for those experienced Visual Basic 6 programmers out there who have made the transition from VB6 to Vb.net. How long did it take you to learn at least the basic...
0
7220
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...
1
6893
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...
0
7386
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...
0
5468
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,...
1
4918
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...
0
3098
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...
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
664
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
295
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.