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

AIS_InteractiveObject: Initialization bug

Paul Jimenez's picture

After spending a few hours trying to track down a strange behavior, I found the reason for it. It only happens when I try to run a Delphi application that uses a DLL which makes heavy use of OCC. When it runs in C++, the strange behavior does not pop up.

In my copy of OCC 6.3, in file ais_interactiveobject.cxx, lines 56 to 69: myHasTransformation is NOT initialized. It should be set to Standard_False. It caused detected/selected shapes to be given a different location, thus making them impossible to track.

I modified my local copy to include the fix, and I hope you include it also in OCC's code.

P Dolbey's picture


(see )

Paul Jimenez's picture

Good idea! It won't only help you, it will also help anyone looking for patches.

Dima's picture

Please show an example of use OpenCascade in Delphi. Very much I want to work with OpenCascade.

Pawel's picture

... not incorporated in OCCT 6.5.2


Pawel's picture

Hello Paul,

I hope you don't mind me reporting this bug on the dev website...

Paul Jimenez's picture

Hi Pawel.

I don't mind, but I thought the fix had been included already. I switched to my own visualization framework long ago now, so I wouldn't have known anyway.


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.