Felix. 0 Posted November 19, 2021 Greetings to all, I'm trying to create a simple Android app (using Delphi 10.4, Firemonkey) that will use stockfish engine (evaluate positions and suggest a best move). I downloaded stockfish .so files (ELF) for Android 32/64bit, included them in my app. In my program I use LoadLibrary, it returns success (Result <> 0). I read a lot about uci protocol (isready, ucinewgame, etc.), but now how will I call stockfish engine and pass a FEN to it? Should I use GetProcAddress? (if yes, then with which parameters?) Has anyone a successful experience? Thank you in advance. Share this post Link to post
Steve Maughan 26 Posted November 19, 2021 Hi Felix, For those unaware of the subject area, I assume you're talking about the chess engine Stockfish. You're going to need to run a console app (stockfish) and then capture the output. For VCL apps you can use DOS Command. It's in GetIt. I'm not sure of this is available for Firemonkey. I hope this helps. Steve 1 Share this post Link to post