Simply define the compiler directive NOFORMSPLEASE when compiling your console app. The ProcessMessages is there (I guess) for allowing the Application object to update screens (WinControls). Since a console application does not link in LCL this is not necessary. Bart