Delphi: Sending a string command using Libby's TPipeConsole
<p>I'm programming in Delphi XE8  an interface to a chess engine which is a DOS console application. I'm using Libby's TPipeConsole to communicate between the two,</p>

<p>My question is: How to send a string command to the engine using TPipeCosnole.</p>

<p>My code below doesn't work:</p>

<pre><code>procedure TForm1.WriteCommand( InText : String );
var
  AnsiBuf : AnsiString;
  dwWrite : DWORD;
begin
  AnsiBuf := AnsiString( InText ) + #13#10;
  PipeConsole1.Write( AnsiBuf, Length( AnsiBuf ) );
end;
</code></pre>