The majority of Tcl users will use the Tcl shell itself, or wish or expect or another application in which the language is already embedded. If you want to embed Tcl in an application yourself, this module gives you a brief introduction.
This topic is presented on public course
Tcl Basics
Examples from our training material
| extend.c | Extending Tcl with C |
| fred | Demo Tcl for mytcl example |
| fred_extended | Tcl used to demo extension with same command |
| fullapp.c | C program that invokes a Tcl Interpretter |
| makefile | Makefile for C applications in this module |
| mytcl.c | Simplest call from C to Tcl - just a wrapper |
Specialist books
Opentalk forum discussions related to this topic
errors while embedding tcl in cintegrating C and Tclintegrate Tcl Tk CTcl from C errorTcl Tl initialization in Windows
Pictures
We will teach Tcl wherever required
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
Embedding a TCL interpreter in a C program.
Adding commands written in C to your Tcl.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Tcl/Tk, Expect,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 600 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.