Closed WolfspiritM closed 3 years ago
Using registry checks is not the ideal way to check for this. Instead the Init
and InitSDK
API should be used. A zero success result means the Chroma SDK has initialized. A non-zero result means a failure.
@tgraupmann We want to explicitly check the availability without actually initializing the SDK, though.
Description
Since latest updates it seems like the SDK changed the path where the "Enable" flag is written to in the registry. The old path was "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Razer Chroma SDK" the new one seems to be in the subkey "Apps".
For old installations the Enable flag that exists doesn't get removed so it keeps working there but new installs fail
Expected Behavior
Detect if the SDK is enabled or not
Actual Behavior
NullReferenceException as key.GetValue("Enable") returns null
Possible Fix
Check the new location
Steps to Reproduce
Context
GameDog stopped working on fresh installed windows
Your Environment