Help?

Ok this is my problem. I am having a compiling promblem trying to create my first window for an OpenGL program. I am using the the first tutorial from nehe.gamedev.net . I am using C++BuilderX 6 and have followed this tutorial and have finished finally. I have corrected all of my mistakes yet I still have this one little error that happens everytime I compile it.
"ilink32 -D -ap -Tpe -x -Gn -v -LC:\CBuilderX\lib c0x32.obj windows\Debug_Build\GLWindow.obj,“C:\Documents and Settings\Dylan Snowden\cbproject est-1\windows\Debug_Build est-1.exe”,cw32.lib import32.lib,
Turbo Incremental Link 5.65 Copyright (c) 1997-2002 Borland

Error: Unresolved external ‘_main’ referenced from C:\CBUILDERX\LIB\C0X32.OBJ"

What could be the prob?

Your project is in “console” mode, so you need to change i into “windows” mode. But I don’t know how to do that for your builder.

Well at the beginning of the project you can choose a Source File. I choose C++. I dont choose console. Maybe Windows isnt associated with the compiler?

I figured it out. With C++Builder 6 you have to choose GUI Application as a project. Thanks anyway man.