Next Topic

Previous Topic

Book Contents

GetCurrentDirectory

int ChangeDirectory(string sDir)

Return values

Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.

Parameters

  • sDir - Path of new current directory.

Remarks

This function will fail if the directory do not exist.