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