Windows development

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
James Constance
Posts: 353
Joined: Wed Mar 08, 2006 7:36 pm
Location: UK

Windows development

Post by James Constance » Sat Oct 17, 2009 11:21 am

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 8:05 pm
Location: Italy
Full name: Stefano Gemma
Contact:

Re: Windows development

Post by stegemma » Sat Oct 17, 2009 11:46 am

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: 1061
Joined: Wed Mar 08, 2006 7:28 pm
Location: Florida, USA
Contact:

Re: Windows development

Post by Steve Maughan » Sat Oct 17, 2009 12:58 pm

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 7:54 pm

Re: Windows development

Post by Dan Andersson » Sat Oct 17, 2009 2:27 pm

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 5:57 pm
Location: Washington, DC

Re: Windows development

Post by Greg Strong » Sat Oct 17, 2009 2:53 pm

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 4:44 pm
Location: Bulgaria
Contact:

Re: Windows development

Post by Mincho Georgiev » Sat Oct 17, 2009 3:43 pm

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: 20550
Joined: Mon Feb 27, 2006 6:30 pm
Location: Birmingham, AL

Re: Windows development

Post by bob » Sat Oct 17, 2009 4:21 pm

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: Wed Mar 08, 2006 11:51 pm
Location: Earth
Contact:

Re: Windows development

Post by Zach Wegner » Sat Oct 17, 2009 6:54 pm

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: 353
Joined: Wed Mar 08, 2006 7:36 pm
Location: UK

Re: Windows development

Post by James Constance » Sat Oct 17, 2009 8:46 pm

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: 353
Joined: Wed Mar 08, 2006 7:36 pm
Location: UK

Re: Windows development

Post by James Constance » Sat Oct 17, 2009 8:48 pm

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

More opinions welcome!

Post Reply