13 Ocak 2021 Çarşamba

How to change windows registry with QSettings in qt?

 

// PROTECT FOR ENTERCRITIALSECTION DEADLOCK 2

QSettings settings("HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager", QSettings::NativeFormat);

settings.setValue("CriticalSectionTimeout", 2000);

Share: