[Bug 6301] New: kernel32:Simple MSDN sample does not work.
Wine Bugs
wine-bugs at winehq.org
Thu Sep 28 03:44:10 CDT 2006
http://bugs.winehq.org/show_bug.cgi?id=6301
Summary: kernel32:Simple MSDN sample does not work.
Product: Wine
Version: CVS
Platform: Other
OS/Version: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs at winehq.org
ReportedBy: xerox_xerox2000 at yahoo.co.uk
Hi, the simple sample from
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getfullpathname.asp
(end of the page) does not work for me in wine.
The output on wine is:
The full path name for the file test.txt is: C:\testfile.txt
The short path name for the directory c:\longdirectoryname is: c:\LONG~TX4
GetLongPathName failed with error 2.
On windows you get:
The full path name for the file test.txt is: C:\testfile.txt
The short path name for the directory c:\longdirectoryname is: c:\LONGDI~1
The long path name for the directory c:\longdirectoryname is: c:\longdirectoryname
I was not able to compile the sample with i386-mingw-gcc, because the linker
complained that _GetLongPathName could not be found, which is another strange
thing. So i compiled it on windows, and i'll attach executable hereafter.
There's also another bug in GetLongPathNameW, but i'll file separate bug for that.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list