Hello all,
Not sure if this is intended behavior or a bug or a wrong function that I'm using, but the problem is that PathCombine() returns a wrong path on a Vista box.
The relative path is (as exported by the WMP to a playlist):
..\..\..\Public\Music\Sample Music\Amanda.wma
The path it's relative to is:
C:\Users\userX\Music\Playlists\playlist.wpl
and PathCombine() returns:
C:\Users\userX\Public\Music\Sample Music\Amanda.wma
however, the file is actually located here (judging by the Explorer and the fact that I can't open it from the code):
C:\Users\Public\Music\Sample Music\Amanda.wma
Is this a known issue? Is there some other function I should be using?
Thanks in advance.