Statically Linking Windows Interpreters
To create a statically-linked Tcl application under Windows, you link your application with the static version of the Tcl library and, if needed, the Tk library. You also must link with all other Tcl extension libraries used by your application, and any other application-specific libraries your application might use (for example, custom driver software for interacting with a special peripheral device).
The TclPro static Windows libraries are located in the win32-ix86\lib subdirectory of the TclPro installation directory. Table 15 lists the static libraries shipped with TclPro.
Note that TclPro uses the convention of ending a static library with the letter "s"; this makes it easy to distinguish .lib files that are export libraries for a dynamic library from corresponding static libraries. For example, Tcl83.lib is the export library for Tcl83.dll, whereas Tcl83s.lib is the Tcl static library. Note also that the "d" convention is used as well, so that Tcl83sd.lib is a static library built with debug options. The "d" libraries were all built with the /MTd flag, the others with /MT.
If you use the "d" libraries, link your application with LIBCMTD.LIB; otherwise link it with LIBCMT.LIB.
http://www.ajubasolutions.com Voice: (650) 210-0100 Fax: (650) 210-0101 support@ajubasolutions.com |