Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Paradox Engine 3.0 for C - #include <stdio.h> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
#include <stdio.h>
#include "pxengine.h"

#define TABLENAME   "table1"

int main(void)
{
  TABLEHANDLE tblHandle;
  PXCODE      pxErr;
  char        tblName[BUFSIZ];

  PXInit();
  PXTblOpen(TABLENAME, &tblHandle, 0, 0);

  /* Get the name of the table. */

  if ((pxErr = PXTblName(tblHandle, BUFSIZ, tblName)) != PXSUCCESS)
    printf("%s\n", PXErrMsg(pxErr));
  else
    printf("The name associated with table handle %d is %s\n",
      tblHandle, tblName);

  PXTblClose(tblHandle);
  PXExit();
  return(pxErr);
}
.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson