home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include "pxengine.h"
-
- int main(void)
- {
- int pxErr;
- TABLEHANDLE tblHandle;
-
- PXInit();
-
- /* Open a non-existing table */
- pxErr = PXTblOpen("ZZ:\BAD",&tblHandle,0,0);
-
- /* Print associated error message */
- printf("%s\n", PXErrMsg(pxErr));
-
- PXExit();
- return(pxErr);
- }