OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: jrupert on February 13, 2014, 08:21:35 AM

Title: Does differing version of AutoCAD make a difference
Post by: jrupert on February 13, 2014, 08:21:35 AM
I have the following code..

(VL-LOAD-COM)

;;;---SHOW FORM
(DEFUN c:GBSCC (/ dcl_id flag)
    (COMMAND "OPENDCL")
    (DCL_PROJECT_LOAD "GBSCC")
    (SETQ dcl_id (DCL_FORM_SHOW GBSCC_FormGBSCC))
    (PRINC)
)

This code base is over 1000 lines...this is just the beginning.
Developed with AutoCAD 2012 on Windows-XP 32-bit PC.
Runs OK on versions 2009-2012.

Having problem with version 2013 Win-7 64-bit.
error: no function defintion: dcl_project_load

Any ideas as to why I an getting this error?
Title: Re: Does differing version of AutoCAD make a difference
Post by: owenwengerd on February 13, 2014, 08:29:46 AM
It appears that OpenDCL Runtime is not loading. Which version of OpenDCL is installed? Did you perhaps install AutoCAD 2013 after you installed OpenDCL? If so, just perform a Repair and it should hook up AutoCAD 2013 correctly.
Title: Re: Does differing version of AutoCAD make a difference
Post by: jrupert on February 13, 2014, 09:34:00 AM
I agree.  OpenDCL version 6.0.2.5. 
I have re-installed the runtime on the particular computer with no issues.
Started AutoCAD 2013, try to run the LISP file, same error.
Title: Re: Does differing version of AutoCAD make a difference
Post by: owenwengerd on February 13, 2014, 09:45:24 AM
Ah, you need to upgrade to at least OpenDCL 7.0 for AutoCAD 2013 support.
Title: Re: Does differing version of AutoCAD make a difference
Post by: jrupert on February 13, 2014, 01:19:19 PM
THANK YOU!

Loaded version 7.0.1.4...works like a charm...but still have a few AutoLisp problems.