Francois Gouget <[EMAIL PROTECTED]> wrote:
[...]
>> It doesn't matter, whether "the real" GetFullPathName leaves forward
>> slashes or not. This behaviour is "implementation specific".
>
>    One could also argue that it maybe it's the documentation which is
>incorrect/incomplete in that it does not say anything about the slash
>'sex'.
[...]

I just checked, and yes, you are right. Windows always changes forward
to back slashes:

C:\DevStudio\Projects\TEST>TEST.exe
Before GetFullPathName() call: C:/DevStudio/Projects\TEST\TEST.exe
GetFullPathName() returned C:\DevStudio\Projects\TEST\TEST.exe

Also, GetFullPathName() doesn't check for existence of the path or file,
it just handles the received string.

Dmitry.


Reply via email to