[Lazarus] fpdocmanager questions & crash

Reinier Olislagers reinierolislagers at gmail.com
Thu Apr 5 10:26:15 CEST 2012


On 3-4-2012 18:36, Hans-Peter Diettrich wrote:
> Reinier Olislagers schrieb:
> 
>>> As long as FPC and Lazarus expect that every user can use a console, I
>>> see no better solution. Except that the developers should decide to
>>> distribute the FPDoc projects instead of the Makefile...
>> As I mentioned: instead of having the user run make blabla > bla.bat:
>> Perhaps you could create the batch/shell files from within fpdoc manager
>> using TProcess.Execute?
> 
> Again: not me :-(
> 
> I'm not familiar with shelling out to processes, in detail on different
> platforms. Where is "make", and where is "fpdoc"? But I'm open to
> contributions...
http://wiki.lazarus.freepascal.org/Executing_External_Programs

Location of make: doesn't matter where make is as long as it's in the
path (on Windows at least).
Otherwise, you can test if it's in the compiler binary path,
<fpcdir>\bin\<architecture>, e.g.
c:\development\fpctrunk\bin\i386-win32\make.exe

fpdoc is in <fpcdir>\utils\fpdoc\fpdoc.exe (or in the compiler binary
path, see above)

See here
http://lazarus.freepascal.org/index.php/topic,16512.msg90010.html#msg90010
for a simple sample program with TProcess...

IIRC, you said yourself you are limiting the program to Windows, so
don't see how cross platform considerations come into it..

Thanks,
Reinier




More information about the Lazarus mailing list