> What I want is a way not show the main form when the EXE is being
> accessed by OLE, but to show the main form normally when starting the
> EXE normally.

Check the command line parameter passed to the application, OLE puts
something in there. I can't remember what it is offhand.
You can then decide whether to show the main form or not;


    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to