Re: [Scidvspc-users] Programming - SCID and .NET
Chess Database and Toolkit program
Brought to you by:
stevenaaus
From: John S. <che...@ho...> - 2012-10-27 02:41:39
|
Thank you Steven,http://scid.sourceforge.net/doc/progref.html in combination with "tcscid" is what I have been using so far on my windows machine. Yeah, I have noticed that the command reference is out of date in a few places, but generally searching through the scid code base gives clues to what the right flags are. There was a message about compiling scid on windows on one of the mailing lists from a year or two ago, but the link to the visual studio solution was dead. I have not yet had a chance to create one myself and if anyone has it and is willing to share, that would be much appreciated. > Date: Fri, 26 Oct 2012 03:03:00 -0700 > From: ste...@ya... > Subject: Re: [Scidvspc-users] Programming - SCID and .NET > To: che...@ho... > CC: sci...@li... > > John Smith <che...@ho...> wrote: > > > >Has anyone tried to integrate SCID with .NET? > > > >I have written a couple of standalone TCL scripts on windows to export data out of a DB, and all in all it is great fun, but since I am more familiar with .NET, I'd prefer to have the option to script SCID from C#. > >What are my options? > >I can think of a couple: > >- create .NET wrappers on top of SCID libraries with a tool like SWIG. I am worried that C++ code has dependencies on TCL though. > > I don't know much about .NET. Most devs involved with Scid use Linux. Gerd Lorscheid > > is the notable exception. Perhaps the Scid mailing list might have some suggestions ? > > >- Invoke TCL commands via some kind of .NET/TCL integration. I have not figured out whether this is possible though since SCID has its own TCL interpreter, so using .NET implementation of TCL interpeter won't quite work if I get the picture correctly. > Hmmm - I think scripting is probably restricted to the tcl based "tcscid". ? > There's some examples of this in "src/scripts" directory for anyone else curious about it > (and some more interesting ones, recently on the Scid mailing list). > > This link is the only reference i know about: > http://scid.sourceforge.net/doc/progref.html > > I'll have to overhaul this page and incorporate this into Scid vs. PC's doco somewhere. > > Steven |