What difference is on project

Jedhi

Centurion
Joined
Oct 2, 2003
Messages
127
What exactly is the difference if you make a MFC Application or a Windows Forms Application. I mean they both give you a window / Dialog ??
 
MFC and Window Forms are two different technologies. Both for working with user interface but different. Windows Forms projects are projects for .NET Framework, because Windows Forms is part of it.
 
You mean that MFC Application is not part of .NET ?

Is MFC Application only added to .NET to adapt MFC users to use .NET or what ?
 
MFC Applications are not .Net applications and do not use the .Net framework.

However a .Net application can link to the MFC libraries - however this means you are potentially coding against two class libraries with overlapping areas of functionality.
 
So If I make a class library in C++ (I suppose it is ANSI-C), then I might get some problems in making a Windows Form that use managed C++, right ?
 
Jedhi said:
So If I make a class library in C++ (I suppose it is ANSI-C), then I might get some problems in making a Windows Form that use managed C++, right ?
Why would you get trouble? You didnt say what you would do to combine them or anything like that, without that I dont know what to say :).
 
If I make a dll making the class library in C++ (I guess this is written in ANSI C++), and the make the GUI stuff Application as a Windows Form Application where I make a dllImport. Would there be any problem in that ?
 
C# and C++ are totally different languages. C++.NET is more like the original C++ in syntax and concept - you #include files and there are pointers, references and all of that stuff.

In C#, it is more like Java. There are no pointers, files do not need to be #included and it is really more like VB.NET with Java syntax.
 
Back
Top