Recent

Author Topic: can tprocess be made to do this?  (Read 2118 times)

pascal111

  • Sr. Member
  • ****
  • Posts: 422
  • Un trabajo en equipo para programas serias.
Re: can tprocess be made to do this?
« Reply #15 on: February 11, 2023, 07:06:28 am »
I think Lazarus has tools better than Delphi to merge chess UCI in your program, we can ask pascal_dragon as a developer of Lazarus about that.
La chose par la chose est rappelé.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5061
  • Compiler Developer
Re: can tprocess be made to do this?
« Reply #16 on: February 12, 2023, 08:15:28 pm »
we can ask pascal_dragon as a developer of Lazarus about that.

I am a FPC dev, not a Lazarus dev (I only use Lazarus as many others here).

Roland57

  • Sr. Member
  • ****
  • Posts: 390
    • GitLab
Dialog with a chess engine
« Reply #17 on: February 12, 2023, 08:26:24 pm »
working with UCI chess engine is different, the engine itself must not be stopped.

This demo does what you want. This is the code that I used for my UCI chess GUI.

Otherwise, there is also a demo which does what you want in UnTerminal.

Yet another solution here.

Otherwise, I have a unit based on Windows API which does the same thing. I can give it to you if you are interested, but it is better to have a multiplatform solution, isn't it?

P.-S. In case someone is interested, I attach it here.
« Last Edit: February 12, 2023, 08:52:59 pm by Roland57 »

toby

  • Full Member
  • ***
  • Posts: 107
Re: can tprocess be made to do this?
« Reply #18 on: February 12, 2023, 09:10:27 pm »
Roland57

the 'This demo' link to sourgeforge works but the other links pointing to forum posts bring up only the main forum page

i don't know if any one else has this problem

Roland57

  • Sr. Member
  • ****
  • Posts: 390
    • GitLab
Re: can tprocess be made to do this?
« Reply #19 on: February 12, 2023, 09:13:52 pm »
I checked. The links work for me.

Maybe in Pascal you will have more luck?  :)

Code: Pascal  [Select][+][-]
  1. { https://forum.lazarus.freepascal.org/index.php/topic,61752.0.html }
  2. { https://forum.lazarus.freepascal.org/index.php/topic,25735.0.html }
  3. { https://forum.lazarus.freepascal.org/index.php/topic,22276.0.html }


 

TinyPortal © 2005-2018