I wonder if the transistion from the project written in VC++ 6.0 to VC++ .NET
requires a lot of code changes (if any) if I compile the project in native
code (or unmanaged code) without using the CLR in VC++ .NET.
Thanks for your feedback. 8 1283
david_75 wrote: I wonder if the transistion from the project written in VC++ 6.0 to VC++ .NET requires a lot of code changes (if any) if I compile the project in native code (or unmanaged code) without using the CLR in VC++ .NET.
That depends a very great deal on your code. The only way to find out for
your code base is to try it.
-cd
Thanks for your prompt reply, Carl. Is there an online source that points me
to the major differences in syntax between VC++ 6.0 and VC++ 8.0 (VC++ .NET
2005)? I meant the Standard C++ syntax, not to include the new syntax
C++/CLI, managed extentions in the .NET. Or could you point out some major
differences if you know any?
Thanks.
"Carl Daniel [VC++ MVP]" wrote: david_75 wrote: I wonder if the transistion from the project written in VC++ 6.0 to VC++ .NET requires a lot of code changes (if any) if I compile the project in native code (or unmanaged code) without using the CLR in VC++ .NET.
That depends a very great deal on your code. The only way to find out for your code base is to try it.
-cd
david_75 wrote: Thanks for your prompt reply, Carl. Is there an online source that points me to the major differences in syntax between VC++ 6.0 and VC++ 8.0 (VC++ .NET 2005)?
Well, all the differences you will get are because of bugs or non-conformant
behaviour in VC6. Therefore, I don't know if the term "difference s in
syntax" is appropriate. Anywat, here you have : http://msdn2.microsoft.com/en-us/lib...us,VS.80).aspx
Also see concerning changes in the CRT : http://msdn2.microsoft.com/en-us/library/ms235497.aspx
Arnaud
MVP - VC
I've blogged on some of the issues I faced here :- http://blog.voidnish.com/
--
Regards,
Nish [VC++ MVP]
"david_75" <da******@discu ssions.microsof t.com> wrote in message
news:02******** *************** ***********@mic rosoft.com... I wonder if the transistion from the project written in VC++ 6.0 to VC++ .NET requires a lot of code changes (if any) if I compile the project in native code (or unmanaged code) without using the CLR in VC++ .NET.
Thanks for your feedback.
Thanks for your reply. Do you or anyone know how to compile native C++ code
(written in VC++ 6.0) in .NET 2005? Any switch or command do I need to know?
Is it possible to compile native code in .NET without involving/mixing with
..NET stuff (like clr, ect).?
Thanks.
"Arnaud Debaene" wrote: david_75 wrote: Thanks for your prompt reply, Carl. Is there an online source that points me to the major differences in syntax between VC++ 6.0 and VC++ 8.0 (VC++ .NET 2005)? Well, all the differences you will get are because of bugs or non-conformant behaviour in VC6. Therefore, I don't know if the term "difference s in syntax" is appropriate. Anywat, here you have :
http://msdn2.microsoft.com/en-us/lib...us,VS.80).aspx
Also see concerning changes in the CRT : http://msdn2.microsoft.com/en-us/library/ms235497.aspx
Arnaud MVP - VC
No extra switch needed. Open your VC6 project in VC 8 and it'll ask you if
you want to migrate the project to the new version. Click yes - do a
rebuild-all and watch the fun ;-)
--
Regards,
Nish [VC++ MVP]
"david_75" <da*****@discus sions.microsoft .com> wrote in message
news:6A******** *************** ***********@mic rosoft.com... Thanks for your reply. Do you or anyone know how to compile native C++ code (written in VC++ 6.0) in .NET 2005? Any switch or command do I need to know? Is it possible to compile native code in .NET without involving/mixing with .NET stuff (like clr, ect).?
Thanks.
"Arnaud Debaene" wrote:
david_75 wrote: > Thanks for your prompt reply, Carl. Is there an online source that > points me to the major differences in syntax between VC++ 6.0 and > VC++ 8.0 (VC++ .NET 2005)? Well, all the differences you will get are because of bugs or non-conformant behaviour in VC6. Therefore, I don't know if the term "difference s in syntax" is appropriate. Anywat, here you have :
http://msdn2.microsoft.com/en-us/lib...us,VS.80).aspx
Also see concerning changes in the CRT : http://msdn2.microsoft.com/en-us/library/ms235497.aspx
Arnaud MVP - VC
LOL... fun, yeah that's what I'd call it :o)
Tom
"Nishant Sivakumar" <ni**@nospam.as ianetindia.com> wrote in message
news:eD******** ******@TK2MSFTN GP12.phx.gbl... No extra switch needed. Open your VC6 project in VC 8 and it'll ask you if you want to migrate the project to the new version. Click yes - do a rebuild-all and watch the fun ;-)
"Tom Serface" <ts******@msn.c om> wrote in message news:Oh******** ******@tk2msftn gp13.phx.gbl... LOL... fun, yeah that's what I'd call it :o)
That's why subroutines in C are called FUNctions... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Canon EOS |
last post by:
Hi,
I am really new in .net and pocket PC development.
My background are purely C/C++/VC++. Have developed on Mobile Java for a
year and felt completely insecure with it because all codes can easily
uncompiled.
And it is why I am trying on .net for smartphone and PocketPC devices.
|
by: Shai Levi |
last post by:
Hi,
I'm trying to migrate native c++ class to managed c++
class.
The native class header definition looks as:
class NativeClass
{
public:
typedef void (CbFunc1)(int n,void* p);
|
by: Steve |
last post by:
We are considering the ways to migrate our VC++ 6.0 applications to .NET
platform.
It would be nice to rewrite them completely in C#, but due to the time
constraints
this option is out of question. We started from rewriting some dll in C# in
Visual
Studio .NET. Now we face chalenges of interoperation between old VC++ 6.0
apps and new .NET...
|
by: Mike Doyle |
last post by:
Hi, I'm looking at migrating our existing from Visual Studio (6.00) C++ code
to the .NET version of C++ (unmanaged) Can anyone point me towards
documention or an overview of this ?
Thanks in advance,
MD
|
by: danip |
last post by:
Hi there,
I need to do the following:
1. Migrate a whole solution (with tens of projects) from VC 6.0 to VC
8.0. The project has a lot of MFC templates like CArray, and many error
are poping out, like: Error 1 error C2248: 'CObject::operator =' :
cannot access private member declared in class 'CObject' d:\program
files\microsoft visual...
| |
by: phnimx |
last post by:
I'm attempting to migrate a predominately MFC application that I've just
inherited from
Visual Studio.NET 2003 to Visual Studio 2005. I've managed to clean up a
myriad of compile and link errors but I'm stuck on one final problem.
Please note that this application compiled/linked and ran just fine out of
Visual Studio.NET 2003.
Details:...
|
by: =?Utf-8?B?QXJqdW4=?= |
last post by:
Hi,
After migrating my application from VC++ 6.0 to VC++ 2005, I receive the
error C2593 'operator +=' is ambiguous.
It refers to the following line:
Name += pManager->GetAgentName();
where Name is a string and GetAgentName also returns a string.
|
by: VikrantS |
last post by:
Hi,
I am migrating code from VS 6.0 to VS2008. The Code compiles in VS 6.0 but gives the following errors when compiled in VS 2008,
---
\Program Files\VC\atlmfc\include\afxcmn.inl(376) : error C2065: 'TVM_GETLINECOLOR' : undeclared identifier
E:\Program Files\VC\atlmfc\include\afxcmn.inl(378) : error C2065: 'TVM_SETLINECOLOR' : undeclared...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
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...
|
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...
| |
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
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...
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |