[Help]Weird Error?
EDIT: This is on a WIN32 Project. Windows Application.
I'm getting a weird error. This is my only code:
[php]#include <Windows.h>
bool test = false;
void testvoid() {
if(test == false) {
MessageBox(0, TEXT("The Text"), TEXT("The Title"), MB_OK);
}
}[/php]
This is my error:
[php]MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup[/php]
WTF is going on?
In project properties, change your project build type to Windows (something called that, i think it's under Project Properties > Linker)