I was exploring what was making win2k's cmd.exe crash,
and I had found a problem in GetFullPathName, so I wrote a test.
AndiM nicly ran it for me in win98se.
Andreas Mohr wrote:
>Hi,
>
>A:\>fptest
>C:\ returned 3 and C:\ in buf, and 00000000 is the s pointer.
>C:\\ returned 4 and C:\\ in buf, and 00000000 is the s pointer.
>C:\.. returned 3 and C:\ in buf, and 00000000 is the s pointer.
>C:\\.. returned 4 and C:\\ in buf, and 00000000 is the s pointer.
>C:\Program Files\.. returned 3 and C:\ in buf, and 00000000 is the s ptr.
>C:\\Program Files\.. returned 4 and C:\\ in buf, and 00000000 is the s ptr.
>C:\blargzool urned 14 and C:\blargazoool in buf, and 0073FCD3 is the s ptr.
>
>HTH,
>
>Andi
>
>
On the XP machine I have,
C:\\ returns C:\ and C:\\.. returns C:\
I did not modify any code yet, but instead bring it up here as possibly
something we need to have code that
behaves differently to mimic different windows versions
-Dante