anchor.diff:  if defined OO_SDK_ANT_HOME set PATH=%OO_SDK_ANT_HOME%\bin;%PATH%
   
   REM Set environment for C++ tools, if necessary.
  -if defined OO_SDK_CPP_HOME call "%OO_SDK_CPP_HOME%"\VCVARS32.bat
  +if defined OO_SDK_CPP_HOME call "%OO_SDK_CPP_HOME%\VCVARS32.bat"
  +
  +REM Set tilte to identify the prepared shell.
  +title Shell prepared for SDK
   
   goto end
   
   :error
  -echo Error: Please insert the necessary environment variables into the batch file.
  +Error: Please insert the necessary environment variables into the batch file.
   
   :end
  
positive.code: REM This script sets all enviroment variables, which
  REM are necessary for building the examples of the Office Development Kit.
  REM The Script was developed for the operating systems Windows.
  REM Before the script could be executed the following variables have to be
  REM adjusted:
  
  REM Installation directory of the Software Development Kit.
  REM Example: set OO_SDK_HOME=D:\api\odk
  set OO_SDK_HOME=
  
  REM Office installation directory.
  REM Example: set OFFICE_HOME=C:\Programme\StarOffice6.0
  set OFFICE_HOME=
  
  REM Directory of the make command.
  REM Example: set OO_SDK_MAKE=D:\NextGenerationMake\make
  set OO_SDK_MAKE=
  
  REM Directory of the C++ compiler.
  REM Example:set OO_SDK_CPP_HOME=C:\Programme\Microsoft Visual Studio\VC98\bin
  set OO_SDK_CPP_HOME=
  
  
negative.code: REM Example: set OO_STLPORT_HOME=D:\stlport-4.5.3
  set OO_STLPORT_HOME=
  
  REM Java installation directory.
  REM Example: set OO_SDK_JAVA_HOME=c:\j2sdk1.4.1_01
  set OO_SDK_JAVA_HOME=
  
  REM ANT installation directory.
  REM Example: set OO_SDK_ANT_HOME=D:\jakarta-ant-1.4
  REM set OO_SDK_ANT_HOME=
  
  REM Automatic deployment
  REM Example: set SDK_AUTO_DEPLOYMENT=YES
  set SDK_AUTO_DEPLOYMENT=YES
  
  
  REM Check installation path for the StarOffice Development Kit.
  if not defined OO_SDK_HOME (
    echo Error: the variable OO_SDK_HOME is missing!
    goto :error
  )
  
  REM Check installation path for the office.
  if not defined OFFICE_HOME (
    echo Error: the variable OFFICE_HOME is missing!
    goto :error
  )
  
  REM Check installation path for GNU make.
  if not defined OO_SDK_MAKE_HOME (
    echo Error: the variable OO_SDK_MAKE_HOME is missing!
    goto :error
  )
  
  REM Check installation path for Java.
  if not defined OO_SDK_JAVA_HOME (
    echo Error: the variable OO_SDK_JAVA_HOME is missing!
    goto :error
  )
  
  REM Set library path.
  set LIB=%OO_SDK_HOME%\windows\lib;%OO_SDK_HOME%\WINexample.out\lib;%LIB%
  
  REM Add directory of the STLPORT library to the library path.
  if defined OO_STLPORT_HOME set LIB=%OO_STLPORT_HOME%\lib;%LIB%
  