Has anyone got a dispose pattern for RealDWG that works ?
As part of the set up you have to create a static class for HostApplicationServices and call Initialise on the Runtime with an instance of the class
When exiting apparently you call Terminate to shut this down.
Unfortunatley, when I create another new instance of my class I get a memory error when I call Initialise again, suggesting that terminate didn;t do what it suggested.
Has anyone else experienced this ?
The exception thrown by Acad is a System.AccessViolation, attempting to read or write protected memory - pretty scary !
Tks
Thiss