MgErr FRelPath(startPath, endPath, relPath);
Computes a relative path between two absolute paths. You can pass the same path variable for the new path that you use for startPath or relPath. Therefore, you can call this function in the following three ways:
Name | Type | Description |
---|---|---|
startPath | Path | Absolute path from which you want the relative path to be computed. |
endPath | Path | Absolute path to which you want the relative path to be computed. |
relPath | Path | Path returned by fAddPath. |
MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.
Value | Corresponding Error Code or Description |
---|---|
noErr | No error. |
mgArgErr | 1 |
mFullErr | 2 |