http://bugs.winehq.org/show_bug.cgi?id=4202
------- Additional Comments From me@rupey.net 2005-31-12 05:47 ------- Created an attachment (id=1601) --> (http://bugs.winehq.org/attachment.cgi?id=1601&action=view) Sample code to fetch My Documents path from shell APIs
This code uses the three methods recommended here
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersgu...
to read the My Documents path from shell APIs. The first, IShellFolder::ParseDisplayName(), fails on Wine with E_OUTOFMEMORY but works fine on XP. The second, SHGetFolderLocation with CSIDL_MYDOCUMENTS, also fails on XP with ERROR_INVALID_PARAMETER.
For now at least there's MBCS and Unicode binaries for this at
http://rupey.net/temp/MyDocumentsTest.zip
built with VC71.