Opening ver.4.0.3.1 form crashes ver.5.1.2.3

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

Previous topic - Next topic

dmadsen

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 4.0.3.1, 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!

Thanks,

Dave

BazzaCAD

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 6.0.0.29) if you want to run on Acad2011. Version 5 wasn't built to run on Acad2011.
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

dmadsen

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.

Thanks!

owenwengerd

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.
Owen Wengerd (Outside The Box) / ManuSoft

dmadsen

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!

p.s.
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!

Thanks,

DM

owenwengerd

I'll get a new build uploaded either tonight or tomorrow, then these files won't cause crashes any more.
Owen Wengerd (Outside The Box) / ManuSoft