| 
            Last change
 on this file since 962 was             907, checked in by Steven Levine, 18 years ago           | 
        
        
          | 
             
Avoid out of memory traps in Compare Directories 
Rework 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:
            781 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | 
 | 
|---|
| 2 | /***********************************************************************
 | 
|---|
| 3 | 
 | 
|---|
| 4 |   $Id: killproc.c 907 2008-01-06 07:26:17Z stevenhl $
 | 
|---|
| 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\fm3dlg.h"
 | 
|---|
| 19 | #include "dll\fm3dll.h"
 | 
|---|
| 20 | 
 | 
|---|
| 21 | int main(int argc, char *argv[])
 | 
|---|
| 22 | {
 | 
|---|
| 23 |   HAB hab;
 | 
|---|
| 24 |   HMQ hmq;
 | 
|---|
| 25 | 
 | 
|---|
| 26 |   DosError(FERR_DISABLEHARDERR);
 | 
|---|
| 27 |   hab = WinInitialize(0);
 | 
|---|
| 28 |   if (hab) {
 | 
|---|
| 29 |     hmq = WinCreateMsgQueue(hab, 256);
 | 
|---|
| 30 |     if (hmq) {
 | 
|---|
| 31 |       if (InitFM3DLL(hab, argc, argv)) {
 | 
|---|
| 32 |         WinDlgBox(HWND_DESKTOP,
 | 
|---|
| 33 |                   HWND_DESKTOP, KillDlgProc, FM3ModHandle, KILL_FRAME, NULL);
 | 
|---|
| 34 |       }
 | 
|---|
| 35 |       DosSleep(250L);
 | 
|---|
| 36 |       WinDestroyMsgQueue(hmq);
 | 
|---|
| 37 |     }
 | 
|---|
| 38 |     WinTerminate(hab);
 | 
|---|
| 39 |   }
 | 
|---|
| 40 |   return 0;
 | 
|---|
| 41 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.