company logo

Accessing external binary files

External binary files are fix record files, i.e. binary files with a fix record length. The type definition has to be provided as data type definition in the resource database.

Property handles for accessing external binary files can be provided by defining an extent in the resource database with the binary access type (AT_BIN). The file location has to be passed in an option variable having the same name as the extent.

In order to save data written to a binary file properly, property handles opened for binary files should be closed calling Property::closeAll(). Other wise, the file may be incomplete after closing the property handle.