Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-22
17:19 • Ticket [1889754fff] 32 bit Tcl not able to access 64 bit registry hive statu... artifact: 047d779ed6 user: serhiy.storchaka
2026-10-21
10:03 • Closed ticket [1889754fff]. artifact: 01aaf82078 user: serhiy.storchaka
2008-02-09
05:30 • Ticket [1889754fff]: 2 changes artifact: bbd11fa2dc user: dkf
01:05 • Add attachment tclWinReg.c to ticket [1889754fff] artifact: e71fcdead4 user: nelakanti
01:05 • Ticket [1889754fff] 32 bit Tcl not able to access 64 bit registry hive statu... artifact: 5853264bc9 user: nelakanti
2008-02-08
18:05 • New ticket [1889754fff]. artifact: cc7a1395b7 user: nelakanti

32 bit Tcl not able to access 64 bit registry hive

Closed / Fixed1889754fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 41 days ago
Descriptionplain2008-02-08 18:05:31
egistry 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
nelakantiplain2008-02-09 01:05:32
File Added - 265569: tclWinReg.c
dkf Ticket [1889754fff]: 2 changes [History diff]2008-02-09 05:30:28
serhiy.storchakawiki2026-10-21 10:03:39

Implemented in 8.6.0 by TIP #362 ([3606e1e39c], registry 1.3): registry -64bit get ... from a 32-bit Tcl accesses the 64-bit registry view, and -32bit does the reverse.

serhiy.storchaka Ticket [1889754fff]: 3 changes [History diff]2026-10-22 17:19:31
Log in (anonymous is fine) to add a comment.

Attachments: