 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Nick Alexander Guest
|
Posted: Wed Feb 02, 2005 2:58 am Post subject: GetExitCodeProcess doesn't return correct code - WinWord pro |
|
|
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
|
Posted: Wed Feb 02, 2005 10:36 am Post subject: Re: GetExitCodeProcess doesn't return correct code - WinWord |
|
|
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 |
|
 |
|
|
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
|
|