 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Torsten Anders Guest
|
Posted: Fri Mar 04, 2005 8:01 am Post subject: Detect start type of automation server |
|
|
My app has an OLE autmation server, and now I must find out how the app was
started, manually by the user or by another apllication via OLE. Any ideas
how to do this?
Thanks in advance
Torsten
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Fri Mar 04, 2005 6:30 pm Post subject: Re: Detect start type of automation server |
|
|
"Torsten Anders" <anders (AT) tasoft (DOT) org> wrote
| Quote: | My app has an OLE autmation server, and now I must find out how
the app was started, manually by the user or by another apllication
via OLE. Any ideas how to do this?
|
Typically, that is done by adding the "/automation" command-line parameter
to the Registry values that the Automation server uses to spawn the
application. That way, the application can check at runtime whether the
"/automation" command-line is present or not.
Gambit
|
|
| Back to top |
|
 |
Torsten Anders Guest
|
Posted: Mon Mar 07, 2005 10:55 am Post subject: Re: Detect start type of automation server |
|
|
Thanks, it works.
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> schrieb im Newsbeitrag
news:4228aaf5$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"Torsten Anders" <anders (AT) tasoft (DOT) org> wrote in message
news:422815c4 (AT) newsgroups (DOT) borland.com...
My app has an OLE autmation server, and now I must find out how
the app was started, manually by the user or by another apllication
via OLE. Any ideas how to do this?
Typically, that is done by adding the "/automation" command-line parameter
to the Registry values that the Automation server uses to spawn the
application. That way, the application can check at runtime whether the
"/automation" command-line is present or not.
Gambit
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|