OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: hermanm on November 08, 2009, 11:42:03 PM

Title: ODCL Project worked with V4, does not work with V5 or V6 of runtime
Post by: hermanm on November 08, 2009, 11:42:03 PM
Any help appreciated.

lsp and slb files attached

please delete .txt file extension on the slide library to test

forum will not accept slb for uploads

Thx
Title: Re: ODCL Project worked with V4, does not work with V5 or V6 of runtime
Post by: Kerry on November 09, 2009, 12:32:19 AM

Herman,
Can you upload\attach the "Textjust.odcl" file
Title: Re: ODCL Project worked with V4, does not work with V5 or V6 of runtime
Post by: hermanm on November 09, 2009, 06:16:56 AM
Sure, Kerry.

File attached.
Title: Re: ODCL Project worked with V4, does not work with V5 or V6 of runtime
Post by: BazzaCAD on November 09, 2009, 09:40:55 AM
Wow a total Acad crash without warning, I haven't seen that in awhile.
It's crashing on this line:
(dcl_SlideView_Load Textjust:Slide  "Textjust.slb" "A0")

I'd file a bug report:
http://sourceforge.net/tracker/?group_id=187950&atid=923363 (http://sourceforge.net/tracker/?group_id=187950&atid=923363)
Title: Re: ODCL Project worked with V4, does not work with V5 or V6 of runtime
Post by: owenwengerd on November 09, 2009, 10:27:21 AM
I don't get a crash (AutoCAD 2010/Win7), but I can see under the debugger that it's reading some incorrect data.  I'll investigate.
Title: Re: ODCL Project worked with V4, does not work with V5 or V6 of runtime
Post by: BazzaCAD on November 09, 2009, 01:12:46 PM
I got the crash on WinXP, Acad2010, ODCL 6.0.0.9.
Maybe you fixed it in a newer version....
Title: Re: ODCL Project worked with V4, does not work with V5 or V6 of runtime
Post by: owenwengerd on November 09, 2009, 06:41:58 PM
I completely rewrote the slide file code. The problem slide is working now, although it uses an undocumented "record type" that the new code just ignores. Test it again in Alpha 13 and let me know whether you notice any problems.
Title: Re: ODCL Project worked with V4, does not work with V5 or V6 of runtime
Post by: hermanm on November 09, 2009, 08:03:02 PM
Doesn't crash for me.

Slide_OnMouseDown callback: does nothing

Slide_OnMouseMovedOff callback: functions as expected.

ACAD 2008->2010

WinXP