   PLZ Help me:(
  When I pass the determined arguments to main an error message is appeared.The message is:error LNK2001:unresolved external symbol _WinMain@16fatal error LNK1120 1 unresolved externals ...and when I omit main arguments then glutInit needs this variables as its arguments.Please help me if possible.   
  You are using a WINDOWS application instead of a CONSOLE application.Windows applications use a routine called WinMain as their primary entry point, instead of main().Assuming you are using Visual C++ 2005, try this:Go to your project properties.Expand to Linker->System within the left tree.Under SubSystem sleect either Subsystem:CONSOLE or Not Set.I suspect your subsystem is set for WINDOWS, Which is why your linker is looking for WinMain().;  Thank you very much for your help,but if I change my project to a consol one is OpenGL works properly?   ;Quote:Thank you very much for your help,but if I change my project to a consol one is OpenGL works properly?Yes.CONSOLE programs are not 16 bit DOS--They are still 32 bit Windows programs, they are just command line.It is still possible to use the Win32 API, and associate libraries under console applications.   