|
|
|
Db_File_open_r
Opens a database file and loads it into memory.
| errCode = Db_File_open_r () |
| Dir |
Type |
Par |
Description |
| return |
int |
errCode |
0 - No error.
10 - Invalid file spec.
20 - Trial version has expired. Download new version.
30 - Could not open file.
60 - Could not create file token.
70 - Could not map file into memory. |
Notes:
Call Db_FileSpec_set_r beforehand to specify the file.
Generally called once during start of application.
Example:
Sample Code
Related:
Db_init,
Db_File_close_r,
Db_File_create_r,
Db_File_exists_b,
Db_File_open_r,
Db_File_save,
Db_FileSpec_get_r,
Db_FileSpec_set_r,
Db_FileSpecDef_get_r,
Db_Mem_defrag_r,
Db_MemSize_get,
Db_MemSizeAvail_get,
Db_verify_r
|