Skip to content
Tcl Source Code View Ticket
Login

View Ticket

8.1 no longer looks in Registry for library path (8.0.5 did)

Closed / Duplicate219214ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 05:03:40
OriginalBugID: 3854 Bug
Version: 8.2
SubmitDate: '1999-12-10'
LastModified: '2000-01-18'
Severity: MED
Status: Assigned
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 2506
OS: Windows NT
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
Per Mildner

Comments:
8.0.5 and earlier looked in the registry for TCL_REGISTRY_KEY (in tclWinInit.c TclPlatformInit). In 8.1 TCL_REGISTRY_KEY is till defined but not used anywhere.

The symptom is that Tcl_Init fails when called from our app since it "Can't find a usable init.tcl in the following directories: 
    {}"

A possible workaround is to define the appropriate environment variables. It also appears that it works for the binaries (wish etc) distributed with tcl since one of the fallbacks is to look in <APPDIR>..\lib\tcl82 
Also (possibly related) using regedit.exe the registry entry for software\scriptics\tcl on my machine contains a single sub-key "Root" whereas the release notes for 8.0.X indicate that some other subkeys are now used.



Checking the registry value was intentionally disabled,
in order to allow multiple copies of the same version of Tcl
to be installed that use different runtime directories.
The search stuff was enhanced for this purpose, we just need
to finish the cleanup and remove the registry key completely. 
-- 12/14/1999 hobbs
dgp Ticket [219214ffff]: 2 changes [History diff]2001-02-08 13:56:59
dgpplain2001-04-06 10:38:30
Logged In: YES 
user_id=80530

Dup of 219361
Log in (anonymous is fine) to add a comment.