Exception is occurred after loading our customized dll in AutoCAD 2021.

Exception is occurred after loading our customized dll in AutoCAD 2021.

subash.nalla
Enthusiast Enthusiast
493 Views
4 Replies
Message 1 of 5

Exception is occurred after loading our customized dll in AutoCAD 2021.

subash.nalla
Enthusiast
Enthusiast

Hi All,

We have a user using AutoCAD 2021 and he is getting the below exception and this is happening since yesterday.

 

Exception.png

We have loaded our customization dll into AutoCAD and then the Fatal error is occurring.

We were able to create our own RibbonButton and add it to RibbonRowPanel then this exception is occurred, require help in solving the issue.

Please let me know for any other information. Thank You.

0 Likes
494 Views
4 Replies
Replies (4)
Message 2 of 5

norman.yuan
Mentor
Mentor

The picture itself does not help here, except telling the obvious: the code does not work properly. You need to tell more details, such as how can you decide it is caused by adding your ribbon button; and if so, when this occur (when the DLL is loaded, or a command....). You'd better show the code. 

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 5

subash.nalla
Enthusiast
Enthusiast

Hi Norman, Thanks for your reply and apologies for the delayed reply.

 

I was able to load all the product related Ribbons (blurred them in the image) as it's client property.

The code was executing in all the users machine except in this one.

I have also placed log files to check if some issue is happening in the execution and no problem is found in the logs.

I was suspecting that it was while adding after Ribbon previously but my assumption is wrong as no issue is observed in the log files.

This issue is happening after the DLL is loaded and all the steps (loading ribbon) are completed.

The version of AutoCAD user is using is 2021.

 

Please let me know for any other information.

 

Thanks in advance.

 

 

0 Likes
Message 4 of 5

_gile
Consultant
Consultant

Hi,

When this kind of fatal error occurs, AutoCAD opens a dialog box named: "AutoCAD Error Report". In this dialog, click the "View Report Details" button to generate error report files. Browse to the dmpuserinfo.xml file (typically in: C:\Users\<UserName>\AppData\Local\Temp\dumpdata.zip) in which you can have more informations about the error.

AutoCAD_Error_Report.jpg



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 5 of 5

subash.nalla
Enthusiast
Enthusiast

Hi thanks for your reply, will check the error next time. Thank You.

0 Likes