A little while back Matt Emson helped me with the message dispatcher for
windows programs... we arrived at something like this:
> while GetMessage(@oMsg,0, 0, 0) do
> begin
> if not (IsDialogMessage(OHandle,omsg)) then
> begin
> TranslateMessage(oMsg);
>
You should consider subscribing to the list, at least briefly.
I think you are double-clicking on the free pascal executable which
opens a console window, prints some text, and quits. The window
stays visible so you can read the text but the session is over.
To use Free Pascal this way, you woul