Page 1 of 1

Help! SnailChess Debug problem

PostPosted: 28 Dec 2005, 18:24
by Chan Rasjid
Hello,

I need help - winoldap ?

I am now making basic design changes in SnailChess and have
completed the basic program that plays w/o bugs with winboard win 98 with a P4 1.4 Ghz. It is compiled with Visual C++ 4.0.

With winboard, it behaves normally in either release/debug mode. It can run in console debug mode in self autoplay, printing +-+-+-... until game end. In autoplay, just , it behaves abnormally as it never happened before - it runs extremely slowly. I have to wait an exceptionally long time before it completes a game. What happens is something "winoldap" which I have never seen before, always run together as a background task whenever autoplay console is run. Changing my compilation settings does not help.

I now find debugging difficult. Does anyone know what is happenning.
Is it "winoldap"

Thanks
Rasjid

Re: Help! SnailChess Debug problem

PostPosted: 28 Dec 2005, 22:12
by RĂ©mi Coulom
Chan Rasjid wrote:Hello,

I need help - winoldap ?

I am now making basic design changes in SnailChess and have
completed the basic program that plays w/o bugs with winboard win 98 with a P4 1.4 Ghz. It is compiled with Visual C++ 4.0.

With winboard, it behaves normally in either release/debug mode. It can run in console debug mode in self autoplay, printing +-+-+-... until game end. In autoplay, just , it behaves abnormally as it never happened before - it runs extremely slowly. I have to wait an exceptionally long time before it completes a game. What happens is something "winoldap" which I have never seen before, always run together as a background task whenever autoplay console is run. Changing my compilation settings does not help.

I now find debugging difficult. Does anyone know what is happenning.
Is it "winoldap"

Thanks
Rasjid


Your compiler looks extremely old. winoldap means it generated a DOS program, I believe (http://www.liutilities.com/products/wintaskspro/processlibrary/winoldap/).
I am not sure if it would cure your other problems, but you should find a more recent compiler. There is free version of Microsoft Visual C++ that is much more recent (Visual C++ toolkit 2003). You could also try mingw or, if you prefer to have a gui, dev-c++ (http://www.bloodshed.net/devcpp.html)

R?mi

My Coding Bug

PostPosted: 29 Dec 2005, 10:17
by Chan Rasjid
Thanks Remi,

The real bug is not "winoldap" but just missing a post increment operator -
nGameMove++. So this is just ( chess ) programming and this little one thing can sometimes casue a real headache.

I have dev-c++, but my old Visual C++ is good for development purposes
with full help facilities. I will seek good compilations when my program is
to be released.

Best Regards
Rasjid