Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-03-28
08:07 • Closed ticket [407416ffff]: unable to open key : plus 6 other changes artifact: c97e6537a6 user: hobbs
2001-03-09
23:27 • New ticket [407416ffff]. artifact: 1bea1208e0 user: nobody

unable to open key :

Closed407416ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2001-03-09 23:27:32
I compiled the tclreg82.dll on Windows NT 4.0. loaded it from tclsh using "package require registry"

when I execute the command 
registry keys HKEY_LOCAL_MACHINE\\system\CurrentControlSet\\services 

it gives me an error "Unable to open key : The system cannot find the file specified.

This happens when it calls RegOpenKeyExW . If it calls RegOpenKeyExA, then it works fine by giving 
all the list of services.

We want to use Unicode way of handling requests with registry.
hobbsplain2001-03-28 08:07:08
Logged In: YES 
user_id=72656

This works correctly for me on Win2K (uses RegOpenKeyExW) 
for 8.3.2.  Note that you are missing a \ 
for "system\\CurrentControlSet", which may have been your 
problem.
Log in (anonymous is fine) to add a comment.