Error closing AutoCAD

Error closing AutoCAD

Anonymous
Not applicable
431 Views
2 Replies
Message 1 of 3

Error closing AutoCAD

Anonymous
Not applicable
Hi All


Strange problem.

I have an ARX and DXB. The dbx contains a custom object. The ARX the functionality.

The ARX is using several dynamic properties including enumerator properties to control the appearance of my custom object.

This works fine when I use appload, test the commands, save, close and re-open(both drawing and acad-app).

If however i use Startup Suite or registry to load DBX and ARX.

[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R16.1\ACAD-305:409\Applications\NOVxMolWeld2]
"LOADCTRLS"=dword:00000002
"LOADER"="NOVxNOV_MOLx.arx"

I get exceptions in the following ARX's when closing AutoCAD.

AcOPMEXT.ARX
AcObjClassImp.arx

Any ideas?


Best regards
Tore
0 Likes
432 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Tore:

> I get exceptions in the following ARX's when closing AutoCAD.

This happens if the OPM is trying to call code in your ARX when it is no
longer in memory. You probably still have outstanding interfaces on one of
your COM objects or forgot to remove a protocol extension before unloading.
:)
--
Owen Wengerd
President, ManuSoft ==> http://www.manusoft.com
VP Americas, CADLock, Inc. ==> http://www.cadlock.com
0 Likes
Message 3 of 3

Anonymous
Not applicable
Hi

Figured it had to be something like that.

But it's so strange to se it work when I manually use appload.


So long
Tore
0 Likes