|
|
|
|
|
Several WINDEV functions can be used to handle the Windows registry. The registry is a file used to store indexed information (classified by keys) describing the system hardware, the user preferences and the configuration settings. Registry manipulation under Windows Vista: In Windows Vista, if the UAC mechanism is enabled, you must have administrator rights to write to the "HKEY_LOCAL_MACHINE\SOFTWARE" key. If the user does not have the necessary rights, the UAC performs an automatic redirection to "HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE. The purpose of this redirection is to ensure the compatibility of the applications. The keys written in this directory can be read by the application that has written them. Reminder When creating an executable, it is possible to insert a manifest in the executable to give administrator rights to the application. Note: 32-bit compiled applications can also access the 64-bit Registry, and 64-bit compiled applications can also access the 32-bit Registry.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|