This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
When I ask Visual Studio to generate runtime callable wrappers for my COM components, it is selecting a strange type to wrap a certain interface property. This is a summarized type library for component A: // Generated .IDL file (by the OLE/COM Object Viewer) // // typelib filename: prodist.sts.dll [ [...] read more
I have a trouble writing some keys into registry: PHKEY key = NULL; HRESULT hResult = S_FALSE; hResult = RegOpenKeyEx(HKEY_CLASSES_ROOT, _T("AppID"), 0, KEY_CREATE_SUB_KEY, key); and this fails with code 0x00000057 - The parameter is incorrect. hResult = RegCreateKeyEx(HKEY_CLASSES_ROOT, _T("new_key_name"), 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, key, NULL); this fails with code [...] read more