Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRepeat Button Pin
shinay17-Jul-03 21:13
shinay17-Jul-03 21:13 
Questionhow to use a com dll Pin
vcseeker17-Jul-03 20:49
vcseeker17-Jul-03 20:49 
AnswerRe: how to use a com dll Pin
si_6917-Jul-03 22:48
si_6917-Jul-03 22:48 
GeneralUse CRichEditCtrl with CFormView Pin
CS42917-Jul-03 20:41
CS42917-Jul-03 20:41 
GeneralIdentification of disks from pathnames Pin
Anonymous17-Jul-03 20:39
Anonymous17-Jul-03 20:39 
GeneralRe: Identification of disks from pathnames Pin
Neville Franks17-Jul-03 22:28
Neville Franks17-Jul-03 22:28 
GeneralMFC vs. C# Pin
DaveE9th17-Jul-03 20:33
DaveE9th17-Jul-03 20:33 
GeneralRe: MFC vs. C# Pin
Mike Dimmick17-Jul-03 22:55
Mike Dimmick17-Jul-03 22:55 
C# is a new language that looks a bit like C++ and a bit like Java, but it is distinct from both. It is designed to work with the .NET Framework, which is (from the 1000-mile perspective) a virtual machine - it doesn't compile to native code in this environment.

You can currently compile programs written in C# either with the .NET Framework SDK[^] (I would have provided a direct link but MS' Downloads page is down at the moment...) or with Visual Studio .NET[^].

C# is just a language; to provide windowing, the .NET Framework provides the Windows Forms environment (the System.Windows.Forms namespace). This is much like VB 6.0 in that it's designed for form-based applications more than document/view applications. However, document/view isn't completely impossible in C#...

If you need to write a document-based application, I'd stick to MFC for the moment. Forms are easier in VB 6/Windows Forms; document-based applications are easier in MFC, IMO.

If you find that you need access to the Win32 SDK directly, you can always call it from C++, whatever framework you use for writing your application. MFC is an open framework in this regard. In C# you can use the [DllImport] attribute to use a facility called Platform Invoke (or P/Invoke for short) to escape the managed environment.
GeneralRe: MFC vs. C# Pin
Anonymous18-Jul-03 7:39
Anonymous18-Jul-03 7:39 
GeneralRe: MFC vs. C# Pin
DaveE9th18-Jul-03 7:44
DaveE9th18-Jul-03 7:44 
GeneralRe: MFC vs. C# Pin
Bob Stanneveld18-Jul-03 7:57
Bob Stanneveld18-Jul-03 7:57 
GeneralRe: MFC vs. C# Pin
DaveE9th18-Jul-03 21:07
DaveE9th18-Jul-03 21:07 
AnswerRe: basetsd.h? Pin
John M. Drescher17-Jul-03 20:21
John M. Drescher17-Jul-03 20:21 
GeneralRe: basetsd.h? Pin
DaveE9th17-Jul-03 20:39
DaveE9th17-Jul-03 20:39 
GeneralRe: basetsd.h? Pin
John M. Drescher18-Jul-03 3:59
John M. Drescher18-Jul-03 3:59 
GeneralRe: basetsd.h? Pin
DaveE9th18-Jul-03 7:45
DaveE9th18-Jul-03 7:45 
GeneralRe: basetsd.h? Pin
Bob Stanneveld18-Jul-03 8:10
Bob Stanneveld18-Jul-03 8:10 
GeneralRe: basetsd.h? Pin
John M. Drescher18-Jul-03 8:39
John M. Drescher18-Jul-03 8:39 
Questionbasetsd.h? Pin
DaveE9th17-Jul-03 20:14
DaveE9th17-Jul-03 20:14 
AnswerRe: basetsd.h? Pin
Andrew Walker17-Jul-03 20:18
Andrew Walker17-Jul-03 20:18 
GeneralTemplate Class App-Wizard Parsing Error Pin
Wonderful Cow17-Jul-03 18:40
Wonderful Cow17-Jul-03 18:40 
GeneralRe: Template Class App-Wizard Parsing Error Pin
John M. Drescher17-Jul-03 19:04
John M. Drescher17-Jul-03 19:04 
GeneralRe: Template Class App-Wizard Parsing Error Pin
Wonderful Cow17-Jul-03 19:37
Wonderful Cow17-Jul-03 19:37 
GeneralRe: Template Class App-Wizard Parsing Error Pin
John M. Drescher17-Jul-03 19:57
John M. Drescher17-Jul-03 19:57 
GeneralRe: Template Class App-Wizard Parsing Error Pin
Andrew Walker17-Jul-03 20:03
Andrew Walker17-Jul-03 20:03 

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.