Composing directory with relative path
I've once seen a function that would take two strings, one being a path to a folder, and another being a relative path, and return new folder to which relative path was pointing to given the first string. Does anyone remember that function? It is not in the standard list of File I/O API's...... :(
shlwapi: PathXxxx functions
shlwapi 4.71 (requires IE4, but see below) offers:
PathCombine to concatenate two path's, and
PathCanonicalize to "make it pretty".
from MSDN:
"All systems with Internet Explorer 4.0 or 4.01 will have the associated version of Comctl32.dll and Shlwapi.dll (4.71 or 4.72, respectively). However, for systems prior to Windows 98, Internet Explorer 4.0 and 4.01 can be installed with or without the integrated shell. If they are installed with the integrated shell, the associated version of Shell32.dll will be installed. If they are installed without the integrated shell, Shell32.dll is not updated. In other words, the presence of version 4.71 or 4.72 of Comctl32.dll or Shlwapi.dll on a system does not guarantee that Shell32.dll has the same version number. All Windows 98 systems have version 4.72 of Shell32.dll."
So if you *can* let Nt3.51 and Windows 95 off the cliff, go ahead
(Win95 isn't supported by MS anymore anyway, so there are only a few unlucky NT3.51'ers)
helped?
Peter