共用方式為


CPathT::Combine

Call this method to concatenate a string representing a directory name and a string representing a file path name into one path.

void Combine(
   PCXSTR pszDir,
   PCXSTR pszFile 
);

Parameters

  • pszDir
    The directory path.

  • pszFile
    The file path.

Remarks

For more information, see PathCombine.

Requirements

Header: atlpath.h

See Also

Concepts

CPathT Class

CPathT Members