Is this necessary: int APIENTRY WinMain
When I created my Win32 Application workspace, there was already a .cpp file created (Visual Studio 6) which had this function already in it:
int APIENTRY WinMain(HINSTANCE hInstance,
Everything I've read uses:
When I removed the WinMain declaration and used int main, I got an "Invalid entrypoint" error during compile.
I looked under:
and saw a field titled: Entry-point symbol which had WinMain in it. I replaced it with main and it still gave me errors...
Could someone give me some steps to setting up an empty workspace? I seem to get different settings every time I create a new Win32 Application. I really have no idea what all the different options do under Project>Settings....
Perhaps someone could recommend a book geared towards the Visual Studio compiler... doesn't have to be an advanced book, I'm still learning the basics.