[Lazarus] Creating crossplatform file association on the fly.

Torsten Bonde Christiansen tc at epidata.dk
Thu Sep 9 09:56:32 CEST 2010


When I am debugging an application in Lazarus and use the app to launch an
external application with TProcess, after I stop the app to recompile, the
exe cannot be saved, and I have now realized that it is because of the
launched app still running in the background.

Is this issue due to the debugger or is it related to the way TProcess
works?

This is the sample code:

 AProcess := TProcess.Create(self);
  AProcess.CommandLine := fullCommStr;
  AProcess.ShowWindow := swoHide;
  AProcess.Execute;
  AProcess.Free;

The application is meant to run in the background.

,

-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100908/7a3b39ab/attachment-0004.html>


More information about the Lazarus mailing list