RE: Ge van Geldorp : ole32/tests: Some Windows versions need the class to be registered.

2009-01-29 Thread Ge van Geldorp
> From: Rob Shearman [mailto:robertshear...@gmail.com] > > -error = RegCreateKeyEx(HKEY_CLASSES_ROOT, buffer, 0, NULL, 0, > > KEY_SET_VALUE, NULL, &hkey, > > +error = RegCreateKeyEx(HKEY_CURRENT_USER, buffer, 0, NULL, 0, > > KEY_SET_VALUE, NULL, &hkey, > > This appears to have cau

Re: Ge van Geldorp : ole32/tests: Some Windows versions need the class to be registered.

2009-01-29 Thread Rob Shearman
2009/1/26 Alexandre Julliard : > hr = StringFromCLSID(&CLSID_WineTest, &pszClsid); > ok_ole_success(hr, "StringFromCLSID"); > -strcpy(buffer, "CLSID\\"); > +strcpy(buffer, "Software\\Classes\\CLSID\\"); > WideCharToMultiByte(CP_ACP, 0, pszClsid, -1, buffer + strlen(buffer), > s