[lazarus] A Free Pascal question

Marc Weustink marc at dommelstein.net
Thu Apr 25 19:42:51 EDT 2002


At 16:41 25/04/2002 -0700, Daniel Umoh wrote:
>Hi, and thanks for taking the time to answer my
>questions.
>I'm making an IDE that uses the Free Pascal compiler
>and I was wondering how to make my program run the
>compiler to compile the code then know when it's
>finished to display a message as to whether it
>compiled successfully or not and whether they were any
>debug errors.

I guess there is an example in the ide source but the general idea is to 
execute the compiler with the help of TProcess using pipes, when it is 
finished read the the output pipe for your result.

Marc






More information about the Lazarus mailing list