Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: A Delphi - WinBoard problem

Author: Tony Werten

Date: 08:31:21 09/26/04

Go up one level in this thread


On September 25, 2004 at 14:48:34, Martin Giepmans wrote:

>Thanks for all the hints! The problem is solved now, thanks to a remark of
>Tony Werten that made me see the light. ;)
>
>In the mean time Guenther Simon discovered another problem.
>When it is connected to winboard the engine doesn't function properly in Windows
>XP, but so far it seems to work well in other gui's.
>Grrrrrrr .. ;)

_lwrite foesn't seem to work under XP

try something like

   EnterCriticalSection(synchyobj);
   if not(stop_request) then
   begin
      len:=length(tekst);
      msg:=copy(tekst,1,len);
      for t:=1 to len do
      begin
         write(output,msg[t]);
         flush(output);
      end;
      write(output,#10);
      flush(output);
   end;
   LeaveCriticalSection(synchyobj);

I can't really remember anymore why the copy is in there :)

Tony


>
>Martin



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.