Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-20
02:05 • Ticket [218421ffff] Creating my own Tcl Interpeter with out using TCL_Main s... artifact: 43259a2281 user: dgp
2000-10-26
08:21 • Closed ticket [218421ffff]. artifact: e3b640ced7 user: welch
00:57 • New ticket [218421ffff]. artifact: 9f05a23909 user: nobody

Creating my own Tcl Interpeter with out using TCL_Main

Closed / Fixed218421ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:57:24
OriginalBugID: 5824 Bug
Version: 8.3
SubmitDate: '2000-06-06'
LastModified: '2000-06-06'
Severity: CRIT
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
FixedDate: '2000-10-25'
ClosedDate: '2000-06-06'


Name:
W. Daka

ReproducibleScript:
I wrote an Windows NT service which creates a TCL Interpeter via TCL_CreateInterp() function, and executing Tcl_EvalFile with init.tcl.

ObservedBehavior:
Every thing works fine with Tcl 8.0, but when i compiled the same code with Tcl 8.3 these bugs was found:-
  1) tcl_library variable is not defined.
  2) the registry package stop working
  3) some other global variable is not defined any more.
More than this, when i run the TclSh83.exe Every thing is fine.

What Am i missing here? is Tcl8.3 needs a specail Initialize procedures? How could i Create Interpeter without using TCL_Main, I do not need shell, I just need a Tcl process/service working in the background, How Can i do that?



Add in the Tcl_FindExecutable(argv[0]) command.  See the docs
for its significance (new to 8.1+ for Unicode). 
-- 06/06/2000 hobbs
welch Closed ticket [218421ffff]. [History diff]2000-10-26 08:21:19
dgp Ticket [218421ffff]: 3 changes [History diff]2001-04-20 02:05:16
Log in (anonymous is fine) to add a comment.