Re: [Scidvspc-users] Programming - SCID and .NET
Chess Database and Toolkit program
Brought to you by:
stevenaaus
|
From: Steven <ste...@ya...> - 2012-10-26 10:03:06
|
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 |