Opening ver. form crashes ver.

Started by dmadsen, September 10, 2010, 10:42:51 AM

Previous topic - Next topic


I am in the process of converting all of our AutoLisp and OpenDCL files to work with AutoCAD2011 and have come across a problem with 2 of my .ODCL files. The .ODCL file loads into the OpenDCL interface, but trying to open and edit one of the forms causes the program to crash. Other forms in the same project are fine.

The .ODCL file opens fine in version, and runs great in AutoCAD2008. The .ODCL files were probably originally created in ObjectDCL v2.??, converted to OpenDCL v4.0.3.1, and now we're converting to v5.1.2.3 (or higher), in order to run with AutoCAD 2011 and Win7.

Any ideas or help are greatly appreciated. I am having to open the .ODCL on another computer with v4.0.3.1 installed and re-create the form in v5.1.2.3... rather cumbersome!




You'll probably need to post the project file for Owen to take a look at if it's crashing the Studio.
However you'll need to use version 6+ (currently if you want to run on Acad2011. Version 5 wasn't built to run on Acad2011.
Barry Ralphs


Thanks for the quick reply. I have been using the v5.1.2.3 runtime with Acad2011 for debugging with no problems. I installed the latest build of Studio and it still crashes. I am uploading the project file with this post. The file name is 'Mcam_Leadin.odcl' and the modal form that is giving me problems is named ''Leadin_Main'. In the meantime, I am going to re-create the form from scratch... I still have Studio v4.0.3.1 installed on another laptop.



I've attached a cleaned up version that should open without crashing. The problem was caused by a mismatch in the lengths of the List and ItemData properties of the listbox control. The next build of OpenDCL Studio has been fixed so it will handle such a case without error.


Hi Guys! I've got another .ODCL file that is crashing Studio! Probably the same issue that was causing the last file to crash. I am attaching it to this post. The modal form that is causing problems is 'Milling_Main'.

Thanks again!

Is there any way I can fix these files myself without having to bother you guys? I am guessing I will probably have a couple more with the same or similar issues. I can always re-create the form, but that is a royal pain!




I'll get a new build uploaded either tonight or tomorrow, then these files won't cause crashes any more.