Next Topic

Previous Topic

Book Contents

Open

int Open(string sFileName, bool bCreate=false)

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

  • sFileName - Name and path of the file to open or create. bCreate If set to non zero the function will create a file. If the given file already exist its content will be destroyed.

Remarks

If bCreate is set to zero and the file do not exist this function will fail.