| 
            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
           | 
        
      
      
| Line |   | 
|---|
| 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 | 
 | 
|---|
| 15 | #define INCL_DOS
 | 
|---|
| 16 | #define INCL_WIN
 | 
|---|
| 17 | 
 | 
|---|
| 18 | #include "dll\fm3dll.h"
 | 
|---|
| 19 | #include "dll\mainwnd.h"                        // Data declaration(s)
 | 
|---|
| 20 | #include "dll\fm3dlg.h"
 | 
|---|
| 21 | #include "dll\init.h"                           // InitFM3DLL
 | 
|---|
| 22 | #include "dll\killproc.h"                       // KillDlgProc
 | 
|---|
| 23 | 
 | 
|---|
| 24 | int main(int argc, char *argv[])
 | 
|---|
| 25 | {
 | 
|---|
| 26 |   HAB hab;
 | 
|---|
| 27 |   HMQ hmq;
 | 
|---|
| 28 | 
 | 
|---|
| 29 |   DosError(FERR_DISABLEHARDERR);
 | 
|---|
| 30 |   hab = WinInitialize(0);
 | 
|---|
| 31 |   if (hab) {
 | 
|---|
| 32 |     hmq = WinCreateMsgQueue(hab, 256);
 | 
|---|
| 33 |     if (hmq) {
 | 
|---|
| 34 |       if (InitFM3DLL(hab, argc, argv)) {
 | 
|---|
| 35 |         WinDlgBox(HWND_DESKTOP,
 | 
|---|
| 36 |                   HWND_DESKTOP, KillDlgProc, FM3ModHandle, KILL_FRAME, NULL);
 | 
|---|
| 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.