AIS_Trihedron Exception on comps without OCC

Dear All:

I have a problem using AIS_Trihedron in my application. If i run my program on computers where OCC is not installed an exception occures

************** Exception Text **************
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
at AIS_Trihedron.__ctor(AIS_Trihedron* , Handle_Geom_Axis2Placement* )
at OCCInteractiveManager.CreateTrihedron(OCCInteractiveManager* ) in d:\my documents\visual studio projects\cncwood\gcshell\occinteractivemanager.cpp:line 54
at GCShell.InitOCCInteractiveManager() in d:\my documents\visual studio projects\cncwood\gcshell\gcshell.h:line 158

After this if i choose continue i can use all my functions (import/export STEP, selection ets)
Could you tell me how to resolve this problem
Thanks
PS All dlls are added to root folder of my application

Patrik Mueller's picture

Hi Roman,

have you checked/set the OCC environment variables? Could be a missing CSF_GraphicShr...

Greets,

Patrik