OriginalBugID: 3854 Bug
OS: Windows NT
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