
| Subject: | Currency in Windows 7 |
| Posted by: | Geoffrey Marshall |
| Date: | Wed, 30 Dec 2009 |
My role is to maintain a legacy program in Delphi 5.
In Vista MS blocked write access to the registry for normal (none administrator authorised - elevated) programs. So I re-wrote the program to use a file to hold static variables instead of the registry!
In Windows 7 it appears that MS has depricated the old entries for formatting (currency date and number formats) so that Delphi (5) can no longer access them. I have identified the new entries which are readily available in Vista but not in Windows 7 unless the program is elevated. So although I have studiously avoided the need to elevate my program I cannot find another solution. So (using Delphi 5) how do I elevate my program to give me read access to the registry?
My thanks for any contributions.
Geoff