Hi Welf
you MUST remove dead links to your objects at closedown
a) create a database reactor at startup
(vlr-editor-reactor nil '(
(....)
(:vlr-beginSave . beginSave-drawing )
(:vlr-beginClose . remove-reactors)<<<<-----
)
Then when command "CLOSE" starts a notification will be fired
(vlr-beginClose..)
Find all reactors and check if their objects are dead = deleted
For deleted objects remove the reactor-callback
Regards,
Dieter
WelfKreisel wrote:
> In our applikation we have defined persistent object reactors,
> in fact these reactors are pointers from the callback functions to an object.
>
> Deleting an object doesn't delete the reactor-pointer,
> so the pointer is still existing and points to a non-existing-object.
>
> Saving and re-open the dwg causes error messages,
> because these reactor-pointers are still existing
> and pointing to a non-existing-objects.
>
> How can we handle this?
>