Usually I always turn off auto-creation of all EXCEPT forms for the main form, and possibly the primary datamodule.
, , , datamodule , . , , onCreate datamodule .
, , (-, , " " ), oncreate, ( ) , . :
const
wm_AppStarted = wm_User + 101;
type
Form1 = class(tForm)
:
procedure wmAppStarted(var Msg:tMessage); message wm_AppStarted;
end;
PostMessage(handle,wm_AppStarted,0,0);
, , , , , "". , .