Wak
Feb 24th, 2001, 04:02 AM
Anyone,
I'm making a Win32 Application and I have the folling code as the header of my main header file
class CAPIApp : public CWinApp
{
public:
CAPIApp();
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
};
From this I am getting an error CWinApp class underfind. No doubt I am forgetting to include a file, which one is it. I am also getting an error "WinMain, mus be __stdcall" What is this about???
Thanx in advance
I'm making a Win32 Application and I have the folling code as the header of my main header file
class CAPIApp : public CWinApp
{
public:
CAPIApp();
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
};
From this I am getting an error CWinApp class underfind. No doubt I am forgetting to include a file, which one is it. I am also getting an error "WinMain, mus be __stdcall" What is this about???
Thanx in advance