win 2K

Has anyone got success installing CAS on a win 2K?? thx

A.

Mikael Aronsson's picture

Hi !

Yes it works fine on my Windows 2000, I guess you have problems with the draw demo ?

If you cannot run the demo.bat file, here are a few tips.

First of all check that you have setup the environment variables you need (see the FAQ), you change them in "control panel/system/advanced/environment variables".

Then you have to modify the demo.bat file, as usual there are bugs in it.

I have included a copy of my demo.bat that works fine.

Check the line "Set Draw.Exe...." at the end, this depends if you have the release version (/bin) or the debug version (/bind).

The debug version looks like it is not working, some dll files are missing, but maybe I am wrong on this.

If you downloaded the 4.0 version, you need to change the versionname in the demo.bat file to from 3.0 to 4.0 or else you end up in the wrong directories.

Check the line if not DEFINED CASCADEHOME.... there is a '=' character missing.

Also check the set PATH=.... this has a hardcoded path to the tcl stuff, you have to change this to the correct path :o)

As you see if you compare mine with the original there are some changes but you can probably figure out how to adapt that to your setup.

set "echo on" and run the script, then it is easier to find out what's wrong.

Finally, you must change the name of the file tcl76.dll to tcl76i.dll (or make a copy), the file is in c:\WinNT\System32

I hope this helps a bit, it should work fine on Win2k.

Note: When you start demo.bat you get an error message about MDI accel. something, just igone it, that's is a feature of draw.... :o)

regards, Mikael

-------------------------------------------- echo OFF

echo " Open CASCADE "

rem --- You must change this --- set CASCADEHOME=V:/msdev/project/ VERSIONNAME Set VERSIONNAME=CAS3.0

rem --- If you don't have CASROOT, change 3.0 to 4.0 if not DEFINED CASROOT set CASROOT=%CASCADEHOME%%VERSIONNAME%

if %PROCESSOR_ARCHITECTURE% EQU x86 Set STATION=Windows_NT

rem ========================================= rem rem LD_LIBRARY_PATH definition rem rem =========================================

if NOT DEFINED OLDPATH set OLDPATH=%PATH%

set PATH=%PATH%;%CASROOT%\%STATION%\dll;

rem the Path where Tcl is installed

rem --- You must fix this one --- set PATH=v:/tools/tcl/bin/;%PATH%;

rem ======================================

rem --- bin or bind, depends on release or debug ver Set DrawExe=%CASROOT%\%STATION%\bin\TTOPOLOGY.exe

if not DEFINED DRAWHOME Set DRAWHOME=%CASROOT%/src/DrawResources if not DEFINED DRAWDEFAULT set DRAWDEFAULT=%DRAWHOME%\\DrawDefault

Set MMGT_CLEAR=1 %DRAWEXE%

------------------------------------------