For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

MDI load accel failure

Anonymous's picture
Forums: 

Hello,

When I launch demo.bat for NT cascade, I've got this message : MDI : load accel failure, then, after the prompt in the new windows, if I enter axo, the system tells me that axo is an invalid command.

The environment variable CASCADEHOME is not defined, but if I try to defined it where cascade is Unzip, I've got this message : d:cascadeCAS3.0/src/Drawresources\Drawdefault : no such file or directory...

I install TCL on my PC, so I've got the missing TCL76i.dll.

What shall I do ??

Thank's

Norbert

Haffray Arnaud's picture

Hello,

Change the file demo.bat like this :

change the line Set DRAWDEFAULT at the end, for your computer, by :

Set DRAWDEFAULT=D:\\Cascade\\CAS3.0\\src\\DrawResources\\Drawdefault

like this and it must work fine

arnaud

Mahmoud Hanafi's picture

I had the same error made the changes but did not fix the problem,

Please advise further, Mahmoud

Philippe Centa's picture

These are 2 different problems :

- the 'drawdefault' enables access to DRAW commands otherwise you just get a stupid black inactive window.

- the 'MDI load accel failure' is to be corrected at a source code level. It is something like a missing resource file. Anyway this bug is just an 'aesthethic' problem because it does not prevent you from doing anything but using non-documented accelerator commands.

Hope it helps

asselin's picture

> These are 2 different problems :

> - the 'drawdefault' enables access to DRAW
> commands otherwise you just get a stupid
> black inactive window.

This what I had, but now, thanks to your advice, this bug is fixed....

> - the 'MDI load accel failure' is to be
> corrected at a source code level. It is
> something like a missing resource file.
> Anyway this bug is just an 'aesthethic'
> problem because it does not prevent you from
> doing anything but using non-documented
> accelerator commands.

Ok,it's fine so...

> Hope it helps

Haffray Arnaud's picture

Hello,

In addition of my first message :

The problem with the environment variable DRAWDEFAULT is that it's interpreting by the TCL. So to have a good interpreting you must set you CASROOT variable with / and not with \ .

For example if you installed Open CASCADE on E:\CASCADE\CAS3.0\..., you must set you variable CASROOT like this : E:/CASCADE/CAS3.0

So you could reuse the original demo.bat file with the line :

Set DRAWDEFAULT=%DRAWHOME%\\DrawDefault