To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74349
                 Issue #|74349
                 Summary|ShellExecuteEx API
               Component|Word processor
                 Version|OOo 2.1
                Platform|Other
                     URL|
              OS/Version|Windows 2000
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|FEATURE
                Priority|P5
            Subcomponent|programming
             Assigned to|mru
             Reported by|tracey002





------- Additional comments from [EMAIL PROTECTED] Thu Feb  8 17:07:16 +0000 
2007 -------
I use a network-dbApplication that launches WINWORD.EXE or swriter.exe as 
applicable, but the Terminal Emulator used is unable to detect that swriter.exe 
is running.
The request and reply is below.
Can this be addressed?
Please advise.
Thanks, Tracey
Reply to my request:
Hi Tracey -
I do not know how swriter.exe starts up. The ESC STX > command uses the 
ShellExecuteEx API to launch the command. This function returns a handle which 
AccuTerm monitors to determine when the command terminates. Perhaps swriter.exe 
is just a launcher for the main program, and once the main program is running, 
swriter.exe terminates. You might need to contact the OpenOffice developers for 
more details.
Thanks, Peter

Initial Request:
A question about an ongoing issue with: ESC STX > command CR with ESC STX I or 
ESC STX S usage.
I have a program that transfers data, then launches the word processor that is 
installed on the User's computer.
When using WINWORD.EXE I get a dialog box stating "Waiting for process to 
terminate..." with a <Cancel> button.
When using swriter.exe I do NOT get a dialog box AND control is returned 
immediately back to AccuTerm.
Both ESC STX I and ESC STX S have the same affect of not pausing for 
termination when launching swriter.exe.
Is there a way to make AccuTerm pause for swriter.exe?
Please advise.
Thanks, Tracey
BTW Most Users run AccuTerm 4.0e and I have AccuTerm 5.3b and both have the 
same issue.
example (I do NOT normally run both so this is just a concise example):
WP.PGM='C:\Program Files\Microsoft Office\Office10\WINWORD.EXE C:\TEST.TXT'
WP.PGM<-1>='C:\Program Files\OpenOffice.org 2.1\program\swriter.exe C:\TEST.TXT'
FOR I=1 TO 2
   DOS.CMD=WP.PGM<I>
   PRINT CHAR(27):CHAR(2):'>':DOS.CMD:CHAR(13):
   PRINT CHAR(27):CHAR(2):'S'
   INPUT PAUSE.HERE
NEXT I
STOP

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to