Computer Chess Club Archives


Search

Terms

Messages

Subject: Problem with building an interface to WinBoard

Author: Gerrit Reubold

Date: 16:47:10 01/01/99


Hello all,

[technical question to chess programmers:]

I am trying to build an interface between WinBoard and my chess program. My
program has its own graphical interface, it is not a "console application". I am
using C++ (MSVC 6.0 and MFC).
Is it possible to build such an interface to a non-console application? I am
inexperienced with stdin, stdout, and text-mode-applications, I have trouble
with the most basic things like

	HANDLE InputHandle = ::GetStdHandle(STD_INPUT_HANDLE);

Is this a line meaningful in a non-console application? In my case
GetStdHandle() fails and returns INVALID_HANDLE_VALUE. Has anybody successfully
interfaced a non-console windows application to WinBoard? If so, sample code
would be great! I apologize if this post is considered off-topic.

If you think this topic is too special for this forum, I would be glad to hear
from you by private e-mail.

Thanks in advance,

Gerrit Reubold



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.