https://bugs.winehq.org/show_bug.cgi?id=44744
Bug ID: 44744 Summary: Autodesk Fusion 360 need propsys.dll.PSGetPropertyKeyFromName to be installed Product: Wine Version: 3.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: propsys Assignee: wine-bugs@winehq.org Reporter: gillg02@hotmail.com Distribution: ---
Software Autodesk Fusion 360, needs propsys.dll.PSGetPropertyKeyFromName to be completly installed. Else installer report an error and app is not useable...
I tried to find a workaround, but no solution... A python code is compiled in binary installer and it use code bellow :
[...] for key, val in self._shellprops.items(): variant = propsys.tag_inner_PROPVARIANT() variant.vt = self._comauto.VT_LPWSTR temp = propsys.WSTRING() hr = strdup(val, self._ctypes.byref(temp)) getattr(variant, '__MIDL____MIDL_itf_propsys_0002_00900001').pwszVal = temp if self._comauto.S_OK != hr: self._ctypes.memset(self._ctypes.byref(variant), 0, self._ctypes.sizeof(variant)) propkey = propsys._tagpropertykey() psgetpropertykeyfromname(key, self._ctypes.byref(propkey)) ps.SetValue(self._ctypes.byref(propkey), self._ctypes.byref(variant)) propvariantclear(self._ctypes.byref(variant))
[...] def PSGetPropertyKeyFromName(self): """ Gets the property key for a canonical property name see: https://msdn.microsoft.com/en-us/library/windows/desktop/bb762081(v=vs.85).a... :return: an implementaion of PSGetPropertyKeyFromName """ if not self._psgetpropertykeyfromname: self._psgetpropertykeyfromname = self._ctypes.windll.propsys.PSGetPropertyKeyFromName propsys = self._pso self._psgetpropertykeyfromname.argtypes = [ self._wintypes.LPCWSTR, self._ctypes.POINTER(propsys._tagpropertykey)] return self._psgetpropertykeyfromname