You must to get the ScanKit Development Tool Kit for RealFlex package. It consists of sets of library routines which provides the interface to RealFlex database and other RealFlex resources. The ScanKit is delivered with the C-source example of generic scanner that works directly with RealFlex database.
Be notice that BJ Software Systems Ltd., the RealFlex development company, is now acquired by Datac-Control Inc. ( www.datac-control.com) that sells now the ScanKit Development Tool.
Feel free to get in touch with me if you will have some questions of developing RealFlex application programms or C-source examples how to do or not to do something with ScanKit Tool.
RealFlex - the company sells a development kit that provides for QNX/'c' program access to their database. They also have several packages that allow access from other Windows programs.