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 <windows.h> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
#include <windows.h>
#include "pxengine.h"

#ifdef __TURBOC__
  #pragma argsused
#endif

int PASCAL WinMain (HANDLE hInst, HANDLE hPrevInst,
  LPSTR lpCmdLine, int nCmdShow)
{
  PXCODE pxErr;

  /* Attempt to initialize Engine for shared environment. */

  if ((pxErr = PXWinInit("Example", PXSINGLECLIENT)) != PXSUCCESS)
    MessageBox(GetFocus(), PXErrMsg(pxErr), "Engine Error", MB_ICONSTOP);
  else
    PXExit();
  return (pxErr);
}
.

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