Page 1 of 1

DCAL Macro Error: Fault 28 from 77

PostPosted: Wed Mar 14, 2007 8:31 am
by ERT
Hello!

I make a DCAL macro in Delphi.
My macro add some entities to the drawing database, or delete any.
And close the macro.
I use undo or undo and redo.
DataCAD say: DataCAD internal diagnostics fault 28 from 77. and close the drawing file.
What does it mean?

Where do I find the DCAD internal diagnostics error list?

Please, help me.

ERT

PostPosted: Thu Mar 15, 2007 7:39 am
by Jsosnowski
I do not know the exact meaning of the error message, but I suspect you may not be creating or deleting new entities correctly and this is leading to the error and shutdown of Datacad. Are you programming in the orginal version or in Delphi DCAL? Can you post a portion of the code showing how you are creating and deleting the entities? If you have not already done so, you might also review the documentation for creating entities in the original DCAL reference manual.

PostPosted: Mon Mar 19, 2007 2:54 am
by ERT
I found the cause of the error.

I store entities in the variable.
And I RELINK the entities.
And I UPDATE the entities - without GET entities again.

Resolution:
I positioned the GET command before the UPDATE command.
A macro is run good. DataCAD is run good.

Thanks your post.