home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


compilation errors..

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...

   Board Index   

#1: ..

by Drakas on 02/01/2007 08:35

http://groups.google.com/group/microsoft.public.vc.language/topics?lnk=sg

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53864345 visitors requested 71639489 pages
page created in 0.018 seconds using 10 queries
hosted by Boost Digital