.NET

Reply
Valued Contributor
rtejada
Posts: 61
Registered: ‎06-19-2002
Message 1 of 1 (56 Views)

Error exception throw for no reason

56 Views, 0 Replies
12-12-2005 12:45 PM
I am opening dwg files using a customized modal form on a .net dll application. It works fine when open the first, then the second drawing in a row. When I try to open the third drawing I got a JIT runtime debbugger exception with no further explanation. The weird thing is, when I do some modification to the first, or the second drawing, I do not get the exception error message. Also when I maximaxed the document window, no error exception shows. I am picking the files using a Webbrowser control on the modal form, so I added some debbuging capability to it. The result was a extra message displaying "OUT of Memory error". It seems that AutoCAD does not allocate enought memory for the .net modal form unless some modification to the active drawing is done. I check also if there were any memory leaking problem, none was found, I also use the showmodaldialog("modalform") method exposed by autocad application object with no luck.

Any suggestions I will appreciate.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community