by kreak88
on 01/31/2007 20:51, 1 messages, last message: 02/01/2007 08:35, 1010 views, last view: 04/25/2024 23:39 |
not with sauer (directly) but I think some project properties may be to blame. Whenever create a new project with visual c++ (2005 express edition)and include windows.h I get error LNK2019 and/or fatal error LNK1120. Here is an EXAMPLE of the type of source I am using and cant compile...
//gives me those errors...
#include <Windows.h>
//prob end?
int WINAPI WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nShowCmd)
{
MessageBox(NULL,
L\"Hello World!\",
L\"Hello World Program Test!\",
MB_ICONEXCLAMATION | MB_OK);
return 0;
}
Any ideas? Help would be appreciated...
|