Hello, All,

I'm trying to run the following code.

It runs if I leave the option line commented out.

If I uncomment the option line it hangs.

This did not happen until I downloaded the latest version of Open Office this AM.

I was running Open Office 3.1. (worked as expected)

I am now running Open Office 3.3. (hangs and Open Office Calc never starts)

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.

When I reset the debugger calc opens as expected.

I'm running under Windows Vista.

Any idea what is going on, please?

  AProcess := TProcess.Create(nil);

AProcess.CommandLine := 'C:\Program Files\OpenOffice.org 3\program\scalc.exe ' + CurrentProcessFileName;

//    AProcess.Options := AProcess.Options + [poWaitOnExit];

  AProcess.execute;

  AProcess.Free;


Thanks,
Mark

--

"If your creed and Scripture do not agree,
cut your creed to pieces,
but make it agree with this book."
~Charles Spurgeon~

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to