11-20-2007 03:23 AM
RegOpenKeyEx does, in fact, create a non-existing key and returns 0 (ERROR_SUCCESS?).
LONG lRegResult = RegOpenKeyEx(HKEY_CLASSES_ROOT, m_RegSubKey, 0, KEY_QUERY_VALUE + KEY_WRITE, &hkRegistry);
Successfully opens or creates m_RegSubKey under HKEY_CLASSES_ROOT.
Is there a way aroun this call?
In fact you need administrator rights to do this call because of the try to write a non exsisting key.
In my case this avoids the EXCEL export and any kind of registry access from LabVIEW without administrator rights.
🙂 Who the hell has done this 😉
All ideas are welcome
11-20-2007 03:57 AM