ShellBrowser Delphi Components Documentation
|
Concatenates two strings that represent properly formed paths into one path; also concatenates any relative path elements. When the path is maximum MAX_PATH long the Windows API is used. In all other cases a own implementation is used. Warning: In Windows Vista or later a preappended Unicode path prefix will be removed.
The directory path should be in the form of A:,B:, ..., Z:. The file path should be in a correct form that represents the file part of the path. The file path must not be null, and if it ends with a backslash, the backslash will be maintained.
class function Combine(const pBasePath: String; const pRelativePath: String): String; overload; static;
Parameters |
Description |
const pBasePath: String |
A string that contains the directory path. |
const pRelativePath: String |
A string that contains the file path. |
String: a string with the concatenated path.
This function also works for base paths with Unicode api call prefix (starting with "\?")
Exceptions |
Description |
|
EArgumentException: in case two emtpy strings are passed. |