How to build tclkit on Windows XP using Tcl/Tk 8.5.1 ---------------------------------------------------- 1. Used genkit to get all sources (on unix). Replaced tcl85 and tk85 with released 8.5.1 sources. 2. Got http://www.equi4.com/pub/tk/tars/msvc6-85.tar.gz and imported it into VC++7. 3. Changed path to src/tcl/win/tclAppInit.c to src/tcl85/win/tclAppInit.c 4. Changed path to src/tk/win/winMain.c to src/tk85/win/winMain.c 5. Removed src/tcl85/compat/strtoll.c and strtoull.c from project. 6. Added inline=__inline to the defines, both Debug & Release 7. Added ws2_32.lib to Additional Dependencies, both Debug & Release 8. kitsh: set properties of this file in kitsh project SOURCE="..\src\tcl\win\tclAppInit.c" C/C++ Preprocessor: TCL_LOCAL_APPINIT=TclKit_AppInit 9. kit: set properties of this file in kit project SOURCE="..\src\tk\win\winMain.c" C/C++ Preprocessor: TK_LOCAL_APPINIT=TclKit_AppInit 10. Make the dde and registry package numbers match in kitInit.c "package ifneeded dde 1.3.2 {load {} dde}\n" "package ifneeded registry 1.2.1 {load {} registry}\n" 11. Built Release target, moved to unix (mac), cat kit.exe runtime85.kit > tclkit.exe I have put the complete VC++7 projects here: http://coccinella.sourceforge.net/tclkits/msvc7-85.zip with tclkit.exe included. Similar changes were also needed with the VC++6 project. Find it all here: http://coccinella.sourceforge.net/tclkits/msvc6-85.zip Mats