Hello,
I´m a newbie in c++ AND Code::Blocks, so maybe someone can help me to solve the following problem:
I´m using Microsoft Platform SDK and Microsoft Visual C++ Toolkit 2003.
I try to build a little WIN32GuiApplication (-Projekt), just for testing.
Here is my code:
********************************************
#include <windows.h>
int WINAPI main(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
MessageBox(0, "Nachricht", "Titel", MB_OK);
return 0;
}
******************************************
When I try to compile the source, I get the following error message:
error LNK2001: unresolved external symbol _WinMainCRTStartup
I searched Google and I think it has something to do with the entry-point of the application (?).
So I think I have to change some Linker-Options or whatever ?!
Could someone please tell me, how to solve this problem and getting the source compiled?
Thank you, mutabor