mysqltcl - main page
Tcl-Corner My Tcl Development

mysqltcl - on MS Windows

Windows binaries

For install mysqltcl unzip the file in your Tcl/lib dictonary. (default C:/Tcl/lib dependent on your Tcl install path).

Warning!. This binaries will work only with 32-bit tcl system. You will need to recompile it if you are using 64-bit Tcl/Tk distribution.

NMake file to that can be used to compile mysqltcl with free Visual C++ Toolkit 2003 which is compatible to AcitveState distribution. Copy this file to directory generic of mysqltcl source package. Please addapt this file for your configuration first.

Windows binary 2.30

Tested with Active State Tcl8.4.3 package and mysql4.0
mysqltcl-2.30.zip
To install it unzip the file in your Tcl/lib dictonary. (default C:/Tcl/lib dependent on your Tcl install path).

How to compile

Thanks to Ramon Ribo (ramsan10 at terra dot es) for windows binary and some infos how to compile mysqltcl2.0 under windows VS 8. To compile the code in Windows with Visual Studio 6 the following must be done: Do not forget to place your libmysql.dll in your common library place or together with your compiled mysqltcl.dll. I last case your must change to dictonary with mysqltcl.dll and load it. The common way to install mysql (or every tcl package) is to make new dictonary mysqltcl in your Tcl/lib and copy libraries into it. Next your need to create pkgIndex.tcl file that register mysqltcl as package. Please build the file as below.

proc loadmysqltcl { dir } {
    set oldcwd [pwd]
    cd $dir
    load mysqltcl[info sharedlibextension]
    cd $oldcwd
}

package ifneeded mysqltcl 2.30 [list loadmysqltcl $dir]

Old Version 2.0

Installation

Make new dictionary mysqltcl in lib dictionary of your tcl installation. Copy contents of zip file in this dictionary.
WEB-Master Artur Trzewik
Last modified: Mon Jan 3 18:54:14 CET 2005