May 08, 2021, 04:17 PM

News: - Used by 85,000 Members - SMS Backed up 7,35,000 - Contacts Stored  28,850 !!

Post reply

The message has the following error or errors that must be corrected before continuing:
Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Message icon:
Please leave this box empty:

Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

shortcuts: alt+s submit/post or alt+p preview

Topic Summary

Posted by sukishan
 - Jul 12, 2009, 10:48 PM
This application was created as follows:

1. Start Microsoft Visual C++ or Visual Studio.
2. On the main menu, click either File -> New... or File -> New Project...
3. In the New dialog box, click Projects or, in the New Project dialog box, click Visual C++ Projects.
4. Click either Win32 Application or Win32 Project.
5. Type a name for the application in the Name edit box. An example would be MFCFundamentals1.
Click OK.
6. Specify that you want to create a Windows Application as an Empty Project and click Finish.
7. To use MFC in MSVC 6, click Project -> Settings... In MSVC 7, in the Solutions Explorer property page, right-click the project name (MFCFundamentals1) and click Properties.
8. In the Microsoft Foundation Classes combo box or in the Use of MFC combo box, select Use MFC In A Shared DLL.
Click OK.

To add a file to create the application, on the main menu of MSVC 6, click File -> New... or, for MSVC 7, on the main menu,

click Project -> Add New Item...

Click C++ (Source) File and, in the Name edit box, type a name for the file. An example would be Exercise.

Click OK or Open.

In the empty file, type the above code:

#include <AFXWIN.H>
class CExerciseApp : public CWinApp
  virtual BOOL InitInstance();

class CMainFrame : public CFrameWnd

  Create(NULL, "MFC Fundamentals");

BOOL CExerciseApp::InitInstance()
  m_pMainWnd = new CMainFrame;

  return TRUE;

CExerciseApp theApp;Execute the application.
Close it and return to MSVC.
IT Acumens Web Designing Chennai | GinGly :: Build your Personal Website | CineBuzz :: Cinema News | My Kids Diary :: Gift your Kids Memories :: Book Website @ 349 Rs monthly
Copyright 2005 - 2021 :: IT Acumens :: All Rights Reserved. :: XML Sitemap
ITAcumens Discussion Forum with 2 lakhs post running for 15 years - Powered by IT Acumens Pro Dedicated Server

My Kids Diary