I have been using TCL extensively from my C# application using a library called TickleSharp.
I have recently run in to an issue where a TCL library I want to use fails to load from inside my C# app.
I am trying to use the TCL library 'Expect', using the command 'package require Expect'. From '[login to view URL]' in DOS, the command works great, but when I try to run the same command from my C# GUI using TickleSharp, the command is throwing a memory access exception.
I have found that if I try to do this fom a C# *Console* application, the command works fine! It is only when I try to do this from a C# GUI application that it fails.
My guess is that there is something wrong with the way that TickleSharp is initilaizing TCL when run from a GUI application.
I have included two sample C# projects, one a Console app that is working and one a Windows app that is failing.
You will need to install ActiveState TCL 8.4.14 ([[login to view URL]][1]) and set the Working Dir for the Projects to the Tcl/bin/ directory for the projects to run.
The job is complete once you can send me whatever changes to the TickleSharp library are required to make the
Windows project work! Alternatively, if there are changes to the Tcl code that need to be made, that would be OK, but you would need to help me setup a Tcl build environment.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Windows XP SP2