debug.c
上传用户:xhy777
上传日期:2007-02-14
资源大小:24088k
文件大小:1k
源码类别:

系统编程

开发平台:

Visual C++

  1. // We don't use the debugging macros ourselves, but we use
  2. // RunInstallUninstallStubs2, which uses IsOS() in stocklib,
  3. // and stocklib uses the debugging macros, so we have to do all this
  4. // crap to keep the linker happy.
  5. //
  6. // This file cannot be compiled as a C++ file, otherwise the linker
  7. // will bail on unresolved externals (even with extern "C" wrapping 
  8. // this).
  9. #include <windows.h>
  10. #include <ccstock.h>
  11. // Define some things for debug.h
  12. //
  13. #define SZ_DEBUGINI     "shellext.ini"
  14. #define SZ_DEBUGSECTION "userstub"
  15. #define SZ_MODULE       "USERSTUB"
  16. #define DECLARE_DEBUG
  17. #include <debug.h>