c++ - Difference between PathAppend and PathCombine in Win32 API -


i want understand what's difference between functions, , of them should use work paths?

for example: want "c:\temp" + "..\folder" = "c:\folder"

thanks

you have use pathcombine this.

concatenates 2 strings represent formed paths 1 path; concatenates relative path elements.

pathappend rules out relative path qualifiers, per msn docs:

the path supplied in pszpath cannot begin "..\" or ".\" produce relative path string.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -