home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include "pxengine.h"
-
- #define TABLENAME "table"
-
- int main(void)
- {
- TABLEHANDLE tblHandle;
- int pxErr;
-
- PXInit();
-
- /* Open a table */
- if ((pxErr = PXTblOpen(TABLENAME, &tblHandle, 0, 0)) != PXSUCCESS)
- printf("%s\n", PXErrMsg(pxErr));
- else
- PXTblClose(tblHandle);
-
- PXExit();
- return(pxErr);
- }