Google is a wonderful thing... ;-) Typing in the following string, "delphi application started by automation", brought up plenty of matches, of which the first thread mentioned the following:
"The TComServer class in ComServ borland COM library has a property StartMode to check the start mode type which consists of the following values: TStartMode = (smStandalone, smAutomation, smRegServer, smUnregServer);" Hope this helps... Conor -----Original Message----- From: Paul Lowman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 9 October 2002 3:47 p.m. To: Multiple recipients of list delphi Subject: [DUG]: Detecting if app was started by automation client Hi all The subject line says it all - anyone know a definitive way of determining that an app was started by an automation client ? I've determined that a parameter string is present of '-embedded' but I'm not sure if this is the right piece of info to use. TIA Regards Paul Lowman Lowman Consulting Ltd. [EMAIL PROTECTED] --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/