| Last change
 on this file since 959 was             907, checked in by Steven Levine, 18 years ago | 
        
          | 
Avoid out of memory traps in Compare DirectoriesRework Compare Directories progress display for 2 second update rate
 Start refactoring to reduce dependence on fm3dll.h
 Add timer services (IsITimerExpired etc.)
 
 | 
        
          | 
              
Property                 svn:eol-style
 set to                 native
Property                 svn:keywords
 set to                 Author Date Id Revision | 
        
          | File size:
            809 bytes | 
      
      
| Line |  | 
|---|
| 1 |  | 
|---|
| 2 | /*********************************************************************** | 
|---|
| 3 |  | 
|---|
| 4 | $Id: viewinfs.c 907 2008-01-06 07:26:17Z stevenhl $ | 
|---|
| 5 |  | 
|---|
| 6 | INF viewer applet | 
|---|
| 7 |  | 
|---|
| 8 | Copyright (c) 1993-98 M. Kimes | 
|---|
| 9 | Copyright (c) 2007 Steven H.Levine | 
|---|
| 10 |  | 
|---|
| 11 | 03 Aug 07 SHL Minor cleanup | 
|---|
| 12 |  | 
|---|
| 13 | ***********************************************************************/ | 
|---|
| 14 |  | 
|---|
| 15 | #define INCL_DOS                        // DosSleep | 
|---|
| 16 | #define INCL_WIN | 
|---|
| 17 |  | 
|---|
| 18 | #include "dll\fm3dlg.h" | 
|---|
| 19 | #include "dll\fm3dll.h" | 
|---|
| 20 |  | 
|---|
| 21 | int main(int argc, char *argv[]) | 
|---|
| 22 | { | 
|---|
| 23 | HAB hab; | 
|---|
| 24 | HMQ hmq; | 
|---|
| 25 |  | 
|---|
| 26 | hab = WinInitialize(0); | 
|---|
| 27 | if (hab) { | 
|---|
| 28 | hmq = WinCreateMsgQueue(hab, 256); | 
|---|
| 29 | if (hmq) { | 
|---|
| 30 | if (InitFM3DLL(hab, argc, argv)) { | 
|---|
| 31 | WinDlgBox(HWND_DESKTOP, | 
|---|
| 32 | HWND_DESKTOP, | 
|---|
| 33 | ViewInfProc, | 
|---|
| 34 | FM3ModHandle, | 
|---|
| 35 | VINF_FRAME, ((argc > 1) ? MPFROMP("") : MPVOID)); | 
|---|
| 36 | } | 
|---|
| 37 | DosSleep(250); | 
|---|
| 38 | WinDestroyMsgQueue(hmq); | 
|---|
| 39 | } | 
|---|
| 40 | WinTerminate(hab); | 
|---|
| 41 | } | 
|---|
| 42 | return 0; | 
|---|
| 43 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.