/[winpt]/trunk/Src/WinPT.cpp
ViewVC logotype

Diff of /trunk/Src/WinPT.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 409 by twoaday, Mon Feb 6 19:39:00 2012 UTC revision 415 by twoaday, Sat Feb 11 16:51:01 2012 UTC
# Line 44  void remove_crit_file_attrs (const char Line 44  void remove_crit_file_attrs (const char
44  HINSTANCE glob_hinst;   /* global instance for the dialogs */  HINSTANCE glob_hinst;   /* global instance for the dialogs */
45  HWND glob_hwnd;         /* global window handle for the dialogs */  HWND glob_hwnd;         /* global window handle for the dialogs */
46  int scard_support = 0;  int scard_support = 0;
47    int disable_hook = 0;
48  int debug = 0;  int debug = 0;
49  int gpg_read_only = 0;  int gpg_read_only = 0;
50  char gpgver[3];  char gpgver[3];
# Line 419  WinMain (HINSTANCE hinst, HINSTANCE hpre Line 420  WinMain (HINSTANCE hinst, HINSTANCE hpre
420              PostMessage (hwnd, WM_DESTROY, 0, 0);              PostMessage (hwnd, WM_DESTROY, 0, 0);
421          }          }
422          return 0;          return 0;
423      }          }
424        
425        /* KLUDGE: test if the hooking is causing problems with some AV programs */
426        if (cmdline && stristr (cmdline, "--disable-hook"))
427            disable_hook = 1;
428            
429    
430      log_debug("check PTD and GPGME version");      log_debug("check PTD and GPGME version");
431      get_file_version ("winpt.exe", &ver[0], &ver[1], &ver[2], &ver[3]);      get_file_version ("winpt.exe", &ver[0], &ver[1], &ver[2], &ver[3]);

Legend:
Removed from v.409  
changed lines
  Added in v.415

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26