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"

main(void)
{
  PXCODE pxErr;

  /* Prepare Engine for initialization using the maximum buffer  */
  /* size, maximum allowable number of tables, maximum number of */
  /* locks and files.  Leave MAXRECBUFs AND SORTORDER at their   */
  /* present value.                                              */

  if ((pxErr = PXSetDefaults(MAXSWAPSIZE,MAXTABLEHANDLES,PXDEFAULT,
    MAXLOCKHANDLES,MAXFILEHANDLES,PXDEFAULT)) != PXSUCCESS)
    printf("%s\n",PXErrMsg(pxErr));

  /* Call PXInit with new default values. */

  PXInit();
  PXExit();
  return(pxErr);
}
.

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