Linker error.... help!

Started by
15 comments, last by kalash 20 years, 9 months ago
quote:Original post by wheatrich
either that--or when you loaded it--you only loaded the cpp file and not the workspace--when you automatically build the workspace--it always does the console application. That annoyed me quite a bit. One bad habit of mine got broken that week.


what do u mean "when you automatically build the workspace" ? i go to new project type in the name, select Win32 app and then add my own cpp files and headers, what do i do wrong? In source and header and resouce folders. By the way i create a blank Win32 app.

Advertisement
What that linker error is saying is that your Win32 application doesn''t have a WinMain.

You know that Win32 applications use WinMain() as their entry point, not main(), right?

How appropriate. You fight like a cow.
Make sure it''s set as the ''active project''
An ASCII tetris clone... | AsciiRis
ohh and save
An ASCII tetris clone... | AsciiRis
Nothing solved yet...
Have you actually created a function:

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCommandLine, int cmdShow){    ...}


Kippesoep
Yes i have

This topic is closed to new replies.

Advertisement