#include <Windows.h>
#include <iostream>
int main() {
HKEY hKey;
const wchar_t* subKey = L"Software\MyApplication";
// Anahtarı açma işlemi
long result = RegOpenKeyEx(HKEY_CURRENT_USER, subKey, 0, KEY_SET_VALUE | KEY_QUERY_VALUE | KEY_WOW64_64KEY, &hKey);
if (result !=...