Как мне добавить ключ в реестр с помощью API? Пожалуйста, подскажите! Очень нужно. Да, и ещё! Я умею создавать ключи с помощью файлов REG, но при перезагрузке системы в SafeMode моя программа НЕ загружается!!! <(^_^)> :-(((((( КАК МНЕ ЭТОГО ИЗБЕЖАТЬ???????
Declare Function RegCreateKeyEx Lib "advapi32.dll" Alias "RegCreateKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal Reserved As Long, ByVal lpClass As String, ByVal dwOptions As Long, ByVal samDesired As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, phkResult As Long, lpdwDisposition As Long) As Long
Declare Function RegCreateKeyEx Lib "advapi32.dll" Alias "RegCreateKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal Reserved As Long, ByVal lpClass As String, ByVal dwOptions As Long, ByVal samDesired As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, phkResult As Long, lpdwDisposition As Long) As Long