| 
            Last change
 on this file since 1268 was             1215, 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:
            954 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [907] | 1 | 
 | 
|---|
 | 2 | /***********************************************************************
 | 
|---|
 | 3 | 
 | 
|---|
 | 4 |   $Id: killproc.c 1215 2008-09-13 06:54:03Z jbs $
 | 
|---|
 | 5 | 
 | 
|---|
 | 6 |   Process killer 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 | 
 | 
|---|
| [1189] | 18 | #include "dll\fm3dll.h"
 | 
|---|
| [1215] | 19 | #include "dll\mainwnd.h"                        // Data declaration(s)
 | 
|---|
| [907] | 20 | #include "dll\fm3dlg.h"
 | 
|---|
| [1215] | 21 | #include "dll\init.h"                           // InitFM3DLL
 | 
|---|
| [1164] | 22 | #include "dll\killproc.h"                       // KillDlgProc
 | 
|---|
| [2] | 23 | 
 | 
|---|
| [551] | 24 | int main(int argc, char *argv[])
 | 
|---|
 | 25 | {
 | 
|---|
 | 26 |   HAB hab;
 | 
|---|
 | 27 |   HMQ hmq;
 | 
|---|
| [2] | 28 | 
 | 
|---|
 | 29 |   DosError(FERR_DISABLEHARDERR);
 | 
|---|
 | 30 |   hab = WinInitialize(0);
 | 
|---|
| [551] | 31 |   if (hab) {
 | 
|---|
 | 32 |     hmq = WinCreateMsgQueue(hab, 256);
 | 
|---|
 | 33 |     if (hmq) {
 | 
|---|
 | 34 |       if (InitFM3DLL(hab, argc, argv)) {
 | 
|---|
| [1164] | 35 |         WinDlgBox(HWND_DESKTOP,
 | 
|---|
 | 36 |                   HWND_DESKTOP, KillDlgProc, FM3ModHandle, KILL_FRAME, NULL);
 | 
|---|
| [2] | 37 |       }
 | 
|---|
 | 38 |       DosSleep(250L);
 | 
|---|
 | 39 |       WinDestroyMsgQueue(hmq);
 | 
|---|
 | 40 |     }
 | 
|---|
 | 41 |     WinTerminate(hab);
 | 
|---|
 | 42 |   }
 | 
|---|
 | 43 |   return 0;
 | 
|---|
 | 44 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.