| Last change
 on this file since 890 was             551, checked in by Gregg Young, 19 years ago | 
        
          | 
Indentation cleanup
 | 
        
          | 
              
Property                 svn:eol-style
 set to                 native
Property                 svn:keywords
 set to                 Author Date Id Revision | 
        
          | File size:
            763 bytes | 
      
      
| Line |  | 
|---|
| 1 | #define INCL_DOS | 
|---|
| 2 | #define INCL_WIN | 
|---|
| 3 |  | 
|---|
| 4 | #include <os2.h> | 
|---|
| 5 | #include <stdarg.h> | 
|---|
| 6 | #include <stdio.h> | 
|---|
| 7 | #include <stdlib.h> | 
|---|
| 8 | #include <string.h> | 
|---|
| 9 | #include <ctype.h> | 
|---|
| 10 | #include "dll\fm3dll.h" | 
|---|
| 11 |  | 
|---|
| 12 | int main(int argc, char *argv[]) | 
|---|
| 13 | { | 
|---|
| 14 |  | 
|---|
| 15 | HAB hab; | 
|---|
| 16 | HMQ hmq; | 
|---|
| 17 | QMSG qmsg; | 
|---|
| 18 | HWND hwndFrame; | 
|---|
| 19 |  | 
|---|
| 20 | DosError(FERR_DISABLEHARDERR); | 
|---|
| 21 | hab = WinInitialize(0); | 
|---|
| 22 | if (hab) { | 
|---|
| 23 | hmq = WinCreateMsgQueue(hab, 512); | 
|---|
| 24 | if (hmq) { | 
|---|
| 25 | if (InitFM3DLL(hab, argc, argv) && | 
|---|
| 26 | ((hwndFrame = | 
|---|
| 27 | StartIniEditor(HWND_DESKTOP, argv[1], 0)) != (HWND) 0)) { | 
|---|
| 28 | if (hwndHelp) | 
|---|
| 29 | WinAssociateHelpInstance(hwndHelp, hwndFrame); | 
|---|
| 30 | while (WinGetMsg(hab, &qmsg, (HWND) 0, 0, 0)) | 
|---|
| 31 | WinDispatchMsg(hab, &qmsg); | 
|---|
| 32 | } | 
|---|
| 33 | DosSleep(125L); | 
|---|
| 34 | WinDestroyMsgQueue(hmq); | 
|---|
| 35 | } | 
|---|
| 36 | WinTerminate(hab); | 
|---|
| 37 | } | 
|---|
| 38 | return 0; | 
|---|
| 39 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.