BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Detect start type of automation server

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX)
View previous topic :: View next topic  
Author Message
Torsten Anders
Guest





PostPosted: Fri Mar 04, 2005 8:01 am    Post subject: Detect start type of automation server Reply with 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?
Thanks in advance
Torsten


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Fri Mar 04, 2005 6:30 pm    Post subject: Re: Detect start type of automation server Reply with quote




"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





PostPosted: Mon Mar 07, 2005 10:55 am    Post subject: Re: Detect start type of automation server Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.