Author: Eugene Nalimov
Date: 21:24:26 01/21/02
Go up one level in this thread
As a temporary solution insert #include <windows.h> before the first line of egtb.cpp. Eugene On January 21, 2002 at 13:50:56, David Rasmussen wrote: >When I try to compile any program that uses Nalimovs egtb.cpp, I get a weird >error. In the ...\VC7\include\objidl.h file, it finds a syntax error: > > virtual HRESULT STDMETHODCALLTYPE Lock( > /* [in] */ DWORD dwTimeout) = 0; > >It says syntax error '='. I have a feeling that it's because egtb.cpp defines a >macro called Lock(), and the preprocessor applies it here. But I've tried to >change the #define line in egtb.cpp to NalimovLock instead, but the error is >still there. Have any of you guys succeeded in building, say, Crafty with this >compiler? I don't understand what's going on. This is the compiler I use for >Chezzz, and I can't very well add tablebase support, if egtb.cpp can't compile. > >/David
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.