Posted to tcl by patthoyts at Wed Oct 11 12:29:11 GMT 2006view raw
- @echo off
- @rem Ask OLE not to cache BSTRs to assist with debugging properly.
- set OANOCACHE=1
- set INCLUDE=
- set LIB=
- call "c:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat"
- if %VB%.==. set VB="c:\Program Files\Microsoft Visual Studio\VB98"
- if exist c:\SDK\SETENV.BAT call c:\SDK\SETENV.BAT
- if exist "c:\Program Files\Microsoft SDK\SetEnv.Bat" call "c:\Program Files\Microsoft SDK\SetEnv.Bat"
- :WTL
- if exist "%MSVCDIR%\WTL\Include" set INCLUDE=%INCLUDE%;"%MSVCDIR%\WTL\Include"
- :DXSDK
- if not exist "c:\DX90SDK" goto DDK
- set INCLUDE=%INCLUDE%;c:\DX90SDK\INCLUDE
- set LIB=%LIB%;c:\DX90SDK\LIB
- echo Added DX90SDK environment.
- @rem set LIB=%LIB%;c:\progra~1\MI92B7~1\LIB
- :DDK
- if not exist "c:\DDK\2600.1106\bin\setenv.bat" goto EXIT
- @rem set INCLUDE=%INCLUDE%;c:\DDK\2600.1106\include\ddk\wdm\wxp
- :EXIT