Tworze sobie klucz i dane w następujący sposób oczywiście przy urzyciu WinApi :
if RegOpenKeyEx(HKEY_LOCAL_MACHINE,'SYSTEM\CurrentControlSet\Services\EventLog\Application\Taski_View',0,KEY_READ,klucz)<>0 then
begin
RegCreateKey(HKEY_LOCAL_MACHINE,'SYSTEM\CurrentControlSet\Services\EventLog\Application\Taski_View',klucz);
RegSetValueEx(klucz,'Pozycja x',0,REG_DWORD,@x,4);
RegSetValueEx(klucz,'Pozycja y',0,REG_DWORD,@y,4);
RegSetValueEx(klucz,'Szerokosc',0,REG_DWORD,@szerokosc,4);
RegSetValueEx(klucz,'Wysokosc',0,REG_DWORD,@wysokosc,4);
end;
Zapisałem sobie informacje ale teraz potrzebuje je odczytać ? Jak to zrobić ?
w WinApi są następujące funkcje :
RegCloseKey
RegConnectRegistry
RegCreateKey
RegCreateKeyEx
RegDeleteKey
RegDeleteValue
RegEnumKey
RegEnumKeyEx
RegEnumValue
RegFlushKey
RegGetKeySecurity
RegLoadKey
RegNotifyChangeKeyValue
RegOpenKey
RegOpenKeyEx
RegQueryInfoKey
RegQueryMultipleValues
RegQueryValue
RegQueryValueEx
RegReplaceKey
RegRestoreKey
RegSaveKey
RegSetKeySecurity
RegSetValue
RegSetValueEx
RegUnLoadKey
próbowałem różnych sztuczek i nic
proszę o pomoc jakiś przykład
Biernacki Arkadiusz Szczecin (ABJ) hmm... ;(