Next Topic

Previous Topic

Book Contents

CreateDirectory

int CreateDirectory(string sPath)

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

  • sPath - Path of the directory to be created.

Remarks

The parent directory of the directory to be created must exist otherwise this function will fail.