Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Compile program C++ by Visual C++.NET Pin
SAKURAVN21-Jul-05 18:22
SAKURAVN21-Jul-05 18:22 
GeneralRe: Compile program C++ by Visual C++.NET Pin
Christian Graus21-Jul-05 18:34
protectorChristian Graus21-Jul-05 18:34 
QuestionHow to insert a number into table in oracle Pin
zwzcode21-Jul-05 15:02
zwzcode21-Jul-05 15:02 
AnswerRe: How to insert a number into table in oracle Pin
Christian Graus21-Jul-05 15:07
protectorChristian Graus21-Jul-05 15:07 
GeneralRe: how to get the lpCmdLine?thanks! Pin
Christian Graus21-Jul-05 15:06
protectorChristian Graus21-Jul-05 15:06 
GeneralRe: how to get the lpCmdLine?thanks! Pin
Rick York22-Jul-05 16:59
mveRick York22-Jul-05 16:59 
GeneralUpgrading to Visual C++.Net 2005 Pin
desmondling7821-Jul-05 14:31
desmondling7821-Jul-05 14:31 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
Christian Graus21-Jul-05 14:44
protectorChristian Graus21-Jul-05 14:44 
desmondling78 wrote:
If I develop applications using MFC in .Net 2005, are there any issues that I should watch out for?

Yeah, lots.

1. VC6 is TERRIBLE at standards conformace. You've missed two iterations, there is a lot of stuff that used to compile and now will not, due to being non-conformant. How well do you know/code to the C++ standard ? One obvious example is this

for (int i = 0; i != 6; ++i)
{

}

int x = i;

According to the standard, this code should fail, i is not visible outside the scope of the loop. VC6 will accept it.

2. MFC has changed a bit in the years between as well, but all for the better as far as I can tell, and not too much ( the focus is on C#/Winforms IMO ).

desmondling78 wrote:
What about manage and unmanaged code and the .Net framework? When I distribute my software, do I need to distribute the .Net framework for older OS such as Win98?

No, C++ is the only language that you can use the .NET compiler for and not require the runtime. You can choose to use/require it if you want to, but you don't have to.



Christian Graus - Microsoft MVP - C++
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
desmondling7821-Jul-05 15:51
desmondling7821-Jul-05 15:51 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
Christian Graus21-Jul-05 16:06
protectorChristian Graus21-Jul-05 16:06 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
desmondling7821-Jul-05 16:31
desmondling7821-Jul-05 16:31 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
Christian Graus21-Jul-05 16:45
protectorChristian Graus21-Jul-05 16:45 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
desmondling7821-Jul-05 17:12
desmondling7821-Jul-05 17:12 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
Christian Graus21-Jul-05 17:18
protectorChristian Graus21-Jul-05 17:18 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
desmondling7821-Jul-05 17:29
desmondling7821-Jul-05 17:29 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
Christian Graus21-Jul-05 17:33
protectorChristian Graus21-Jul-05 17:33 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
Kevin McFarlane22-Jul-05 9:33
Kevin McFarlane22-Jul-05 9:33 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
Kevin McFarlane22-Jul-05 9:29
Kevin McFarlane22-Jul-05 9:29 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
Kevin McFarlane22-Jul-05 9:27
Kevin McFarlane22-Jul-05 9:27 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
Kevin McFarlane22-Jul-05 9:20
Kevin McFarlane22-Jul-05 9:20 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
peterchen21-Jul-05 22:22
peterchen21-Jul-05 22:22 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
Kevin McFarlane22-Jul-05 9:35
Kevin McFarlane22-Jul-05 9:35 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
peterchen22-Jul-05 11:55
peterchen22-Jul-05 11:55 
GeneralRe: Upgrading to Visual C++.Net 2005 Pin
Kevin McFarlane22-Jul-05 12:11
Kevin McFarlane22-Jul-05 12:11 
GeneralReading Unknown Registry Pin
Anonymous21-Jul-05 13:44
Anonymous21-Jul-05 13:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.