Article # 369, added by Geoworks, historical record
| first | previous | index | next | last |

Using the appropriate InitFile routine.



Q. I was attempting to use InitFileReadDataBlock for getting the file
   transfer settings from the ini file. Though the "parameters" key
   was definitely set under the "fileTransfer" category, I was getting
   a size of zero and an empty data block (I was getting a successful
   return from the call).

A. You must use the appropriate InitFileRead.. routine for a given
   INI file item. That is to say that if the item is a string value
   then you need to use InitFileReadString.. and if the item is an
   integer value then you would use InitFileReadInteger().