Does differing version of AutoCAD make a difference

Started by jrupert, February 13, 2014, 08:21:35 AM

Previous topic - Next topic

jrupert

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?

owenwengerd

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.

jrupert

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.

owenwengerd

Ah, you need to upgrade to at least OpenDCL 7.0 for AutoCAD 2013 support.

jrupert

THANK YOU!

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