Hello Rainer, Thursday, June 29, 2006, 11:42:12 AM, you wrote:
[skip] RH> My idea is to write the backend in FPC. It shall only use StdIn/StdOut and RH> also parse its command line options. The Frontend shall be - in a first step - RH> be written in Delphi or Lazarus, but because I ask here for a friend who RH> currently uses Delphi, this would be preferred. RH> My question is: RH> Can somebody show me a little sample program for that? RH> It will be enough (for the Delphi-part) to open a window with a textbox and a RH> button. When the button is clicked, the backend shall be loaded, some text be RH> piped into it, and that what comes out from the backend's stdout shall be RH> displayed in the textbox. Nothing more. You can find a toy example (which basically does exactly what you need) of using unnamed pipe in Delphi here: http://delphi.about.com/cs/adptips2001/a/bltip0201_2.htm -- Best regards, Alexey _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal