Tag: HKEY_LOCAL_MACHINE

  • How can i receive notifications of registery changes in Delphi?

    In Delphi, you can use the Windows API function RegNotifyChangeKeyValue to receive notifications of changes to a specified registry key. Here is an example of how to use this function in Delphi: Declare the function in the implementation section of your unit: function RegNotifyChangeKeyValue(hKey: HKEY; bWatchSubtree: BOOL; dwNotifyFilter: DWORD; hEvent: THandle; fAsynchronous: BOOL): Longint; stdcall;…