[Win32utils-devel] File.basename issue

Daniel Berger djberg96 at gmail.com
Sat Aug 20 20:10:15 EDT 2005


Park Heesob wrote:
> Hi Dan,

> 
> The msdn document reads
>   Returns the address of the NULL that replaced the backslash, or the 
> address of the last character if it's not a backslash.
> 
>                             ^^^^^^^^^^^^^^^^
> 
> You should use
> 
> while(!*PathRemoveBackslash(path));
> 
> Regards,
> 
> Park Heesob

Dang, I thought I tried that and it didn't work.  I must have done 
something wrong.

Thanks!

Dan


More information about the win32utils-devel mailing list