My problem is this: I am creating the offsets in a loop, so I need to
delete the pointers to these memory resident objects before I leave
loop, but doing so causes AutoCAD to crash. If I don't delete them,
the function works fine, but I'm creating a lot of memory leaks,
aren't I?
Jon
once I get to here, I loop back again, so "original" is not needed.
Since the polyline was only drawn, and is not database resident,
wouldn't it be proper for me to use this?:
delete pPline;
pPline->close(); appears to be working, but is this actually
accomplishing what it implies? I somehow got the impression that you
are supposed to "delete" non database resident entities when you are
done with them.
On Wed, 30 Jun 1999 10:08:40 -0700, Art Cooney <ar...@autodesk.com>
wrote:
If you call close() on a non-dbresident object, close() will do nothing and
will return eNoDatabase. If close() returns eOk, then the object is in a
database.