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

obsolete: 8.2

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'

Per Mildner

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


  • Don Porter

    Don Porter - 2001-02-08
    • assigned_to: nobody --> dgp
    • labels: 104245 --> 38. Init - Library - Autoload
  • Don Porter

    Don Porter - 2001-04-06
    • status: open --> closed-duplicate
  • Don Porter

    Don Porter - 2001-04-06

    Logged In: YES

    Dup of 219361


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks