Tcl Source Code

View Ticket
Login
Ticket UUID: 1889754
Title: 32 bit Tcl not able to access 64 bit registry hive
Type: Bug Version: obsolete: 8.4.17
Submitter: nelakanti Created on: 2008-02-08 18:05:31
Subsystem: 32. registry Package Assigned To: kennykb
Priority: 5 Medium Severity:
Status: Open Last Modified: 2008-02-09 05:30:28
Resolution: None Closed By:
    Closed on:
Description:
registry command of 32 bit tcl will not access 64-bit hive of the registry. Some applications running using 32 bit tcl need to access 64 bit hive of the registry. So we need capability to specify wowmode to registry command.

Currently only option that is allowed for registry command is -timeout for broadcast sub-command. This option is to be specified after keyname.

So we should add capability to accept -wowmode option with possible values as 32|64, default is similar to current behavior. Also we should allow -timeout option to be accepted before keyname also.

The new syntax of registry command will be:
registry get|set|... ?-wowmode $val? keyname ...
The syntax of registry broadcast will be:
registry broadcast ?-wowmode $val? ?-timeout milliseconds? Keyname ?-timeout milliseconds? Keyname

At Hewlett Packard we modified tclWinReg.c (1.21.2.7)to provide the above functionality. We want to contribute this to OpenSource. This contribution is free to license under the Tcl license terms. I am attaching modified tclWinReg.c file here.

Thanks

Rao
User Comments: nelakanti added on 2008-02-09 01:05:32:

File Added - 265569: tclWinReg.c

Attachments: