mdelfede Messages: 1310 Registered: September 2007
Ultimate Contributor
Not possible, the Handle() macro is needed everywhere.... It's a sort of smart pointer system made with macro, sigh.
OpenCascade has some very old code parts in it.
It should be rewritten with more modern compilers in mind, but it would be a really huge task.
Anyways, I tested your method and it works too, so it's ok for me.
I was just testing a sketcher app using opencascade.