Hardev> I compiled and installed Tcl8.0 and scotty2.1.8 on my PC.
Hardev> When I open Tcl shell and do: load tnm2.1.8.dll it says that
Hardev> it looked for init.tcl file in C:\tcl\lib\tnm2.1.8\library,
Hardev> current dir and ..\library directories. Question is: WHERE is
Hardev> it getting these paths from. I did not set them in my
Hardev> makefile. I have made my paths in my makefile to be relative
Hardev> to where I am compiling scotty. What if I have installed
Hardev> Tcl8.0 in C:\myTclPath directory? I tried setting TCL_LIBRARY
Hardev> variable to C:\myTclPath\lib\tcl8.0 directory and stuff, but
Hardev> it keeps looking for C:\tcl path.
Hardev> How can I load tnm2.1.8.dll based on where I have installed
Hardev> Tcl and not some hardcoded path?
Get the development snapshot. It will read the Tcl installation path
from the registry and hopefully do the right thing.
Juergen
-- Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw Technical University Braunschweig, Dept. Operating Systems & Computer Networks Bueltenweg 74/75, 38106 Braunschweig, Germany. (Tel. +49 531 / 391 3283)-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.