|
TclBridge Documentation
|
|
|
|
|
|
Overview
|
|
|
|
|
|
TclBridge is a powerful component designed to seemlessly integrate Tcl/Tk with any COM/ActiveX capable environment (such as Microsoft Visual Basic or any of the Microsoft .NET languages).
This component is fully multi-threaded and thread-safe (each interpreter has it's own thread).
Additionally, full Tcl/Tk stubs support has been added.
This component should work with any version of Tcl/Tk 8.3.2 or higher.
Tcl/Tk is now installed with this component for your convenience.
Multiple Tcl interpreters can be easily created, used, and destroyed.
In addition, there is a simple yet powerful facility that allows Tcl to invoke YOUR custom COM and ActiveX components.
You simply specify the Tcl command name to add, the instance or progID of the COM object to call, the method name to call, and the "clientData" (or cookie) you want to receive when called by the specified Tcl interpreter.
In short, Tcl commands are transparently mapped to COM method calls that you control in a fully reentrant, thread-safe manner.
Command arguments are handled automatically either as one long string or as separate strings (can be toggled dynamically).
Also includes the following:
|