Windows development

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

James Constance
Posts: 358
Joined: Wed Mar 08, 2006 8:36 pm
Location: UK

Windows development

Post by James Constance »

If I wanted to develop an interface for chess engines (for windows), what would be the best software/development kit to use? I've only got experience programming in BASIC type languages, but could learn another if worthwhile.

thanks

James
User avatar
stegemma
Posts: 859
Joined: Mon Aug 10, 2009 10:05 pm
Location: Italy
Full name: Stefano Gemma

Re: Windows development

Post by stegemma »

James Constance wrote:If I wanted to develop an interface for chess engines (for windows), what would be the best software/development kit to use? I've only got experience programming in BASIC type languages, but could learn another if worthwhile.

thanks

James
I use both VC++ and Borland C++ Builder. The last maybe is the better one, for those who wants learn another language, because the IDE is a lot similar to Visual Basic. The VC++ has more robust and stable environment and better debugging features, imho. The VCL (Visual Component Library) of Borland are very good if you want to write a graphical interface for chess. Another option is to try Delphi, but i nver use it.

Maybe, because you want to learn some new language, could be interesting to start directly with Java, so that your interface can be ready for the WEB.

At last... even Visual Basic itself could be a good choice but i don't like the needs to install Activex/DLL and other things with your programs, to make it runs properly.
User avatar
Steve Maughan
Posts: 1221
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: Windows development

Post by Steve Maughan »

Delphi is IMHO the fastest, most robust way to develop GUI applications. The Object Pascal language will also be easier to learn C if you're coming from Basic.

Also take a look at JVCL and their components, a freeware library of components. They have a free component that reads and write to the standard windows i/o pipes, which is the way you will need to communicate with Winboard and UCI engines.

Cheers,

Steve
Dan Andersson
Posts: 442
Joined: Wed Mar 08, 2006 8:54 pm

Re: Windows development

Post by Dan Andersson »

One of the best Java and a host of other languages IDE's available has a community edition that features amongst other things a GUI builder. If you fancy learning a new language like Java/Groovy/Scala/Clojure IntelliJ IDEA is a great alternative.
Windows centric programming also allows for choosing the .net language family like C#/F#/Iron-Python;Ruby. There Visual Studio or SharpDevelop offer nice IDE's.

MvH Dan Andersson
User avatar
Greg Strong
Posts: 388
Joined: Sun Dec 21, 2008 6:57 pm
Location: Washington, DC

Re: Windows development

Post by Greg Strong »

James Constance wrote:If I wanted to develop an interface for chess engines (for windows), what would be the best software/development kit to use? I've only got experience programming in BASIC type languages, but could learn another if worthwhile.

thanks

James
I'd definitely recommend .NET; it's easy and fast. Since you're familiar with BASIC, you could use Visual Basic .NET. I personally prefer C#, but it shouldn't make much difference. It's even possible to run the compiled result under Linux with MONO.
Mincho Georgiev
Posts: 454
Joined: Sat Apr 04, 2009 6:44 pm
Location: Bulgaria

Re: Windows development

Post by Mincho Georgiev »

If you really want to develop nice interface, i recomend you this:

http://www.codeproject.com/KB/tabs/tabb ... ework.aspx

WTL is complicated, but once you get familiar with it, it consumes far less time than writing such an interface from scratch. You can use only the framework with your own classes and custom controls (like the chess board for example) attached to it. Good Luck!
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Windows development

Post by bob »

James Constance wrote:If I wanted to develop an interface for chess engines (for windows), what would be the best software/development kit to use? I've only got experience programming in BASIC type languages, but could learn another if worthwhile.

thanks

James
A razor blade. Go ahead and slit your wrists now and avoid the anguish you are fixing to encounter. :)
User avatar
Zach Wegner
Posts: 1922
Joined: Thu Mar 09, 2006 12:51 am
Location: Earth

Re: Windows development

Post by Zach Wegner »

Greg Strong wrote:
James Constance wrote:If I wanted to develop an interface for chess engines (for windows), what would be the best software/development kit to use? I've only got experience programming in BASIC type languages, but could learn another if worthwhile.

thanks

James
I'd definitely recommend .NET; it's easy and fast. Since you're familiar with BASIC, you could use Visual Basic .NET. I personally prefer C#, but it shouldn't make much difference. It's even possible to run the compiled result under Linux with MONO.
I'd second that. The .NET environment is pretty nice for GUI-type stuff. That's probably the best bet here. You can use VB too, although I would like if every trace of that language were wiped off the face of the planet...
James Constance
Posts: 358
Joined: Wed Mar 08, 2006 8:36 pm
Location: UK

Re: Windows development

Post by James Constance »

bob wrote:
James Constance wrote:If I wanted to develop an interface for chess engines (for windows), what would be the best software/development kit to use? I've only got experience programming in BASIC type languages, but could learn another if worthwhile.

thanks

James
A razor blade. Go ahead and slit your wrists now and avoid the anguish you are fixing to encounter. :)
oh dear! is it really that bad? :shock:
James Constance
Posts: 358
Joined: Wed Mar 08, 2006 8:36 pm
Location: UK

Re: Windows development

Post by James Constance »

Thanks for all your suggestions - I'll have to look into them.

More opinions welcome!