/*********************************************************************** $Id: viewinfs.c 1216 2008-09-13 06:54:29Z jbs $ INF viewer applet Copyright (c) 1993-98 M. Kimes Copyright (c) 2007 Steven H.Levine 03 Aug 07 SHL Minor cleanup ***********************************************************************/ #define INCL_DOS // DosSleep #define INCL_WIN #include "dll\fm3dll.h" #include "dll\notebook.h" // Data declaration(s) #include "dll\mainwnd.h" // Data declaration(s) #include "dll\fm3dlg.h" #include "dll\init.h" // InitFM3DLL #include "dll\viewinf.h" // ViewInfProc int main(int argc, char *argv[]) { HAB hab; HMQ hmq; hab = WinInitialize(0); if (hab) { hmq = WinCreateMsgQueue(hab, 256); if (hmq) { if (InitFM3DLL(hab, argc, argv)) { WinDlgBox(HWND_DESKTOP, HWND_DESKTOP, ViewInfProc, FM3ModHandle, VINF_FRAME, ((argc > 1) ? MPFROMP("") : MPVOID)); } DosSleep(250); WinDestroyMsgQueue(hmq); } WinTerminate(hab); } return 0; }