Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, all I have created a simple wi

Status
Not open for further replies.

sabakrish

Programmer
Jul 30, 2001
6
LK
Hi, all
I have created a simple win32 Application program as given below:
#include<afxwin.h>

class myframe:public CFrameWnd
{
public:
myframe()
{
Create(0,&quot;Hello MFC&quot;);
}
};

class myApp:public CWinApp
{
int Initlnstance()
{
myframe *p;
p=new myframe;
p->ShowWindow(3);
m_pMainWnd=p;
return 1;
}


};

myapp a;


But , after build and run the program the following error message appeared,
please try anybody to fix the problem.

Error message as:

C:\delayny\sample1\sample1.cpp(3) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Error executing cl.exe.

sample1.exe - 1 error(s), 0 warning(s)


advance thanks

sabakrish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top