Skip to main content
gamedev.net
🔒 Locked

winmain lttle problem

Started by KOSH-30 Jun 16, 2002 at 2:25 PM 1 replies 200+ views
Original Post
KOSH-30
KOSH-30
i just started with direct x tutorials and started with a making a window and already got an error i can''t solve it is in the only sentence where there is a main i think! int WINAPI WINMAIN (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) error error LNK2001: unresolved external symbol _main hope someone can help
IndirectX
IndirectX
Make a Win32 application instead of a console one. Next time, use Forum Search because this question comes up every so many days.
---visit #directxdev on afternet <- not just for directx, despite the name
GarlandIX
GarlandIX
Also, its WinMain, not WINMAIN.

------------------------------
BASIC programmers don''t die, they just GOSUB and don''t return.
------------------------------BASIC programmers don't die, they just GOSUB and don't return.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.