From: <no...@so...> - 2002-12-11 22:58:09
|
Bugs item #652363, was opened at 2002-12-11 23:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=652363&group_id=2435 Category: w32api Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dimitri Papadopoulos (dimitri_at) Assigned to: Earnie Boyd (earnie) Summary: IShellLinkW::GetPath Initial Comment: Hi, The IShellLinkW::GetPath() declaration in shlobj.h is wrong. It is: STDMETHOD(GetPath)(THIS_ LPSTR,...) PURE; instead of: STDMETHOD(GetPath)(THIS_ LPWSTR,...) PURE; Indeed the current declarations are inconsistent: DECLARE_INTERFACE_(IShellLinkA, IUnknown) STDMETHOD(GetPath)(THIS_ LPSTR,...) PURE; STDMETHOD(SetPath)(THIS_ LPCSTR) PURE; DECLARE_INTERFACE_(IShellLinkW, IUnknown) STDMETHOD(GetPath)(THIS_ LPSTR,...) PURE; STDMETHOD(SetPath)(THIS_ LPCWSTR) PURE; Reference: http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/ifaces/ishelllink/GetPath.asp ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=652363&group_id=2435 |