Subscribe to this list via RSS Blog posts tagged in console

Posted by on in Blogs
Memo showing console exit Sometime we need to show command line operations in our applications. This is possible using windows pipes. Below a unit implementing a memo that gets a bat file exit: unit UnMemoConsole; // Code adapted from msdn: // interface uses System.Classes, System.SysUtils, Vcl.Forms, Vcl.StdCtrls, Winapi.Windows; const BUFFER_SIZE = 4096; type TMemoThread = class(TThread) private Memo: TMemo; Pipe: THandle; pi: T...
  • Page :
  • 1

Check out more tips and tricks in this development video: