<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello, All,<br>
<br>
I'm trying to run the following code.<br>
<br>
It runs if I leave the option line commented out.<br>
<br>
If I uncomment the option line it hangs.<br>
<br>
This did not happen until I downloaded the latest version of Open
Office this AM. <br>
<br>
I was running Open Office 3.1. (worked as expected)<br>
<br>
I am now running Open Office 3.3. (hangs and Open Office Calc never
starts)<br>
<br>
I saw the warnings about using pipes and reading information back; I
am not doing any of this; just trying to open the spreadsheet, edit
it, and close it while waiting to return in the Lazarus program.<br>
<br>
When I reset the debugger calc opens as expected.<br>
<br>
I'm running under Windows Vista.<br>
<br>
Any idea what is going on, please? <br>
<br>
<font face="monospace"> AProcess := TProcess.Create(nil);
<br>
<br>
AProcess.CommandLine := 'C:\Program Files\OpenOffice.org
3\program\scalc.exe ' + CurrentProcessFileName;
<br>
<br>
// AProcess.Options := AProcess.Options + [</font><font
face="monospace">poWaitOnExit</font><font face="monospace">];
<br>
<br>
AProcess.execute;
<br>
<br>
AProcess.Free;
<br>
<br>
<br>
Thanks,<br>
Mark<br>
</font><br>
-- <br>
<pre class="moz-signature" cols="72">"If your creed and Scripture do not agree,
cut your creed to pieces,
but make it agree with this book."
~Charles Spurgeon~</pre>
</body>
</html>