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 

GetExitCodeProcess doesn't return correct code - WinWord pro

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Nick Alexander
Guest





PostPosted: Wed Feb 02, 2005 2:58 am    Post subject: GetExitCodeProcess doesn't return correct code - WinWord pro Reply with quote



I have a Delphi app that launches another app and loops while it is
running, using GetExitCodeProcess to check for STILL_ACTIVE. This
works fine, except if I have Outlook running, (that uses Word as
editor) and I launch Word from my app. The launching works, but
GetExitCodeProcess fails with a return of 0. How can I start another
process of Word, separate from the one that Outlokk is using?
Back to top
Ante Smolcic
Guest





PostPosted: Wed Feb 02, 2005 10:36 am    Post subject: Re: GetExitCodeProcess doesn't return correct code - WinWord Reply with quote



In article <4ba6d6f1.0502011858.6870aab7 (AT) posting (DOT) google.com>,
[email]nic.alexander (AT) gmail (DOT) com[/email] says...
Quote:
I have a Delphi app that launches another app and loops while it is
running, using GetExitCodeProcess to check for STILL_ACTIVE. This
works fine, except if I have Outlook running, (that uses Word as
editor) and I launch Word from my app. The launching works, but
GetExitCodeProcess fails with a return of 0. How can I start another
process of Word, separate from the one that Outlokk is using?

http://support.microsoft.com/kb/q210565/

I think you should use the /w parameter.

HTH


--
That's me favorite shirt. That's me only shirt!

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc 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.