| Home | Previous Lesson: String Services Next Lesson: Platform Services |
This service makes many file related Windows SDK calls transparent to you. PFC has a service pfc_n_cst_filesrv in the pfcapsrv.pbl directory. This service has two descendants, one pfc_n_cst_filesrv16 for the 16-bit Windows and another pfc_n_cst_filesrv32 for the 32-bit Windows . Some of the file services include, creating a directory, deleting a directory recursively, directory listing, file read/write/renaming, finding the current directory, current drive letter, disk space, listing/changing file attributes such as file creation date-time, etc. To use this service, first find out the operating system by using the of_GetEnvironment() function and instantiate the appropriate descendent.
| Home | Previous Lesson: String Services Next Lesson: Platform Services |