In my program, I have a directory string:
C:\\test\\media\\..\\img\\1.bmp
Now, my problem is that I need to have the absolute directory from the above, pointing to C:\\test\\img\\1.bmp
What's the fastest way to convert it?
In my program, I have a directory string:
C:\\test\\media\\..\\img\\1.bmp
Now, my problem is that I need to have the absolute directory from the above, pointing to C:\\test\\img\\1.bmp
What's the fastest way to convert it?
Y3K Network http://www.y3knetwork.com
Bringing the software of the future on the net.
Some stdlib.h implementations have _fullpath().
Or you can use the Win32 API function GetFullPathName()
gg
Ahh it was SO easy??
Thanks man.
Y3K Network http://www.y3knetwork.com
Bringing the software of the future on the net.