Am 21.06.2013 08:01, schrieb Ivanko B:
> What does not work? *Please* be more verbose!
> =================
> GDB doen't stop at any BP within any method in the datamodule PAS-file
> so me can't get what the program does.
>
"
//application.createdatamodule(tmsedatamodule,mainmo);
application.createdatamodule(tmainmo,mainmo);
"
> If you simply want to get the output of a self terminating sub process
> use one of the getprocessoutput() functions of mseprocess.pas.
> ===========
> Not an universal solution. With this approach it's difficult to filter
> process stdout per-line as a line is available.
>
Then
"
procedure tmainmo.inputavailable(const sender: tpipereader);
var
  str1: string;
begin
  while sender.readstrln(str1) do begin
   //do something with str1
  end;
end;
"
could be used.

Martin

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to