Message 1 of 3
Custom Object with Reactors
Not applicable
08-06-2004
10:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi...
Im quite new to objectARX, so dont laugh if this is a very stupid question... (+;+)
I created a dbx project via the ObjectARX Wizard 2005.
I added my custom object that implements AcDbPoint object...
I want my object to update a certain textfile when it is modified, so I've created a reactor class...
I instantiated the reactor class in the acrxEntryPoint module (In th load event) and attached it to my object in the default constructor of my object (via myObject::addReactor).. I detached it in the deconstructor and delete my reactor pointer in the unload event in the acrxEntryPoint module.
Is this the right approach? cause whenever I create my custom object via arx and unload my dbx I always get an Internal error which causes autocad to crash...
By the way Im using VS.NET 2002 and AutocadMap 2004...
Tnx in advance...
Paul June A. Domag
Solutions Developer
nth geographics and geometrics
Im quite new to objectARX, so dont laugh if this is a very stupid question... (+;+)
I created a dbx project via the ObjectARX Wizard 2005.
I added my custom object that implements AcDbPoint object...
I want my object to update a certain textfile when it is modified, so I've created a reactor class...
I instantiated the reactor class in the acrxEntryPoint module (In th load event) and attached it to my object in the default constructor of my object (via myObject::addReactor).. I detached it in the deconstructor and delete my reactor pointer in the unload event in the acrxEntryPoint module.
Is this the right approach? cause whenever I create my custom object via arx and unload my dbx I always get an Internal error which causes autocad to crash...
By the way Im using VS.NET 2002 and AutocadMap 2004...
Tnx in advance...
Paul June A. Domag
Solutions Developer
nth geographics and geometrics