| 
            Last change
 on this file since 1268 was             1216, checked in by John Small, 17 years ago           | 
        
        
          | 
             
Ticket 187: Move data declarations/definitions out of fm3dll.h 
 
           | 
        
        
          
            
              - 
Property                 svn:eol-style
 set to                 
native
               
              - 
Property                 svn:keywords
 set to                 
Author Date Id Revision
               
             
           | 
        
        
          | 
            File size:
            908 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [907] | 1 | 
 | 
|---|
 | 2 | /***********************************************************************
 | 
|---|
 | 3 | 
 | 
|---|
 | 4 |   $Id: sysinfo.c 1216 2008-09-13 06:54:29Z jbs $
 | 
|---|
 | 5 | 
 | 
|---|
 | 6 |   System information applet
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 |   Copyright (c) 1993-98 M. Kimes
 | 
|---|
 | 9 |   Copyright (c) 2008 Steven H.Levine
 | 
|---|
 | 10 | 
 | 
|---|
 | 11 |   05 Jan 08 SHL Sync
 | 
|---|
 | 12 | 
 | 
|---|
 | 13 | ***********************************************************************/
 | 
|---|
 | 14 | 
 | 
|---|
| [2] | 15 | #define INCL_DOS
 | 
|---|
 | 16 | #define INCL_WIN
 | 
|---|
 | 17 | 
 | 
|---|
| [1176] | 18 | #include "dll\fm3dll.h"
 | 
|---|
| [1216] | 19 | #include "dll\mainwnd.h"                        // Data declaration(s)
 | 
|---|
| [907] | 20 | #include "dll\fm3dlg.h"
 | 
|---|
| [1216] | 21 | #include "dll\init.h"                           // InitFM3DLL
 | 
|---|
| [1155] | 22 | #include "dll\sysinfo.h"                        // SysInfoDlgProc
 | 
|---|
| [2] | 23 | 
 | 
|---|
| [551] | 24 | int main(int argc, char *argv[])
 | 
|---|
 | 25 | {
 | 
|---|
 | 26 |   HAB hab;
 | 
|---|
 | 27 |   HMQ hmq;
 | 
|---|
| [2] | 28 | 
 | 
|---|
 | 29 |   hab = WinInitialize(0);
 | 
|---|
| [551] | 30 |   if (hab) {
 | 
|---|
 | 31 |     hmq = WinCreateMsgQueue(hab, 256);
 | 
|---|
 | 32 |     if (hmq) {
 | 
|---|
 | 33 |       if (InitFM3DLL(hab, argc, argv)) {
 | 
|---|
| [1155] | 34 |         WinDlgBox(HWND_DESKTOP, HWND_DESKTOP,
 | 
|---|
 | 35 |                   SysInfoDlgProc, FM3ModHandle, SYS_FRAME, NULL);
 | 
|---|
| [2] | 36 |       }
 | 
|---|
 | 37 |       WinDestroyMsgQueue(hmq);
 | 
|---|
 | 38 |     }
 | 
|---|
 | 39 |     WinTerminate(hab);
 | 
|---|
 | 40 |   }
 | 
|---|
 | 41 |   return 0;
 | 
|---|
 | 42 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.