Se usi il borland devi creare un progetto...
e nelle imposatzioni :
Platform (Win32)
Target Model (GUI)