Posted to tcl by patthoyts at Wed Oct 11 12:29:11 GMT 2006view raw

  1. @echo off
  2.  
  3. @rem Ask OLE not to cache BSTRs to assist with debugging properly.
  4. set OANOCACHE=1
  5.  
  6. set INCLUDE=
  7. set LIB=
  8. call "c:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat"
  9. if %VB%.==. set VB="c:\Program Files\Microsoft Visual Studio\VB98"
  10. if exist c:\SDK\SETENV.BAT call c:\SDK\SETENV.BAT
  11. if exist "c:\Program Files\Microsoft SDK\SetEnv.Bat" call "c:\Program Files\Microsoft SDK\SetEnv.Bat"
  12.  
  13. :WTL
  14. if exist "%MSVCDIR%\WTL\Include" set INCLUDE=%INCLUDE%;"%MSVCDIR%\WTL\Include"
  15.  
  16. :DXSDK
  17. if not exist "c:\DX90SDK" goto DDK
  18. set INCLUDE=%INCLUDE%;c:\DX90SDK\INCLUDE
  19. set LIB=%LIB%;c:\DX90SDK\LIB
  20. echo Added DX90SDK environment.
  21. @rem set LIB=%LIB%;c:\progra~1\MI92B7~1\LIB
  22.  
  23. :DDK
  24. if not exist "c:\DDK\2600.1106\bin\setenv.bat" goto EXIT
  25. @rem set INCLUDE=%INCLUDE%;c:\DDK\2600.1106\include\ddk\wdm\wxp
  26.  
  27. :EXIT