Hi,
GelFullPathName() function returns the path with backslash. Is there any option to return the path with the forward slash?
Printable View
Hi,
GelFullPathName() function returns the path with backslash. Is there any option to return the path with the forward slash?
Maybe there is, but nonetheless, did you even consider approaching it manually?
Moony, this is a very simple operation, window's fancy apis can't do everything for you. But here is somthing I whipped up anyway...
Code:void ReverseSlashes(char *psz, DWORD size)
{
int loop;
for(loop = 0; loop < size; loop++)
if(psz[loop] == '\\')
psz[loop] = '/';
}
I can do it manually, and thanks Queatrix.
I was just asking in case it can be provided by the function.