Hello everyone, now I build an add-in layout tools on Autocad, when I run it in Autocad 2019 and 2022, it works correctly, but in Autocad 2017, 2018 it will be crashed. See the photo below. Thanks for reading and the ideas for this!
![]() |
|
![]() |
|
![]() |
|
![]() |
Hello everyone, now I build an add-in layout tools on Autocad, when I run it in Autocad 2019 and 2022, it works correctly, but in Autocad 2017, 2018 it will be crashed. See the photo below. Thanks for reading and the ideas for this!
That doesn't tell us much. Does it crash upon loading or at some action such as button press? Describe what is happening when the error occurs. Did you try debugging? At what line of code does the error occur? Did you compile a dll for those apps using the proper references? What is the target framework?
C:> ED WORKING.... ▒
Hello, when I click on button Apply, the program crash, I tried to debug but it doesn't notice which line error, it will be crash immediately. I use references in Object ARX 2018 package, the target framework is 4.6.2. If it is possible, I will attach my code here, I wish you can review it for any ideas please, thanks!
- - - Updated - - -
Hello, when I click on button Apply, the program crash, I tried to debug but it doesn't notice which line error, it will be crash immediately. I use references in Object ARX 2018 package, the target framework is 4.6.2. If it is possible, I will attach my code here, I wish you can review it for any ideas please, thanks!
- - - Updated - - -
- - - Updated - - -
this is my code:
- - - Updated - - -
"https://drive.google.com/file/d/1z6PrddUg3QY9-7DCpXKYO1H6M5AxDSLQ/view?usp=sharing"
Set a breakpoint at the beginning of the method for the Apply button. Then when the code breaks, step through the method until it crashes, noting which line it crashed on.
C:> ED WORKING.... ▒