Page 1 of 1

PostPosted: Mon Feb 26, 2007 9:52 am
by devinder
I am not receiving any crashes at lyr_first or lyr_clear call.
getlyrcurr - retrieves the address of current active layer .
lyr_first - retrieves the address of first layer in database.
lyr_clear - deletes all the entities from the layer whose address is provided.

PostPosted: Tue Feb 27, 2007 9:26 am
by devinder
The correct call declaration for lyr_clear is
Code: Select allPROCEDURE lyr_clear(var addr: lyraddr); stdcall; external AppName;

My header file was last updated on 8/26/2006 and had this fix and thus I was not getting any crash. I do not recall what had prompted me to make this change in my files and not inform at the DDN.