ZWCAD 2019 / OpenDcl 9.02.0

Started by juan, October 18, 2018, 06:10:31 AM

Previous topic - Next topic

juan

Hello, I have an application made with OpenDcl and it works perfectly in Autocad, my idea is to be able to work with it in zwcad 2019, but it gives me an error

  (dcl_Project_Load "E: PERI_Present.odcl" T)

Error: undefined function - DCL_PROJECT_LOAD


Please, can you help me

TH
Juan

Peter2

It seems that the ARX is not loaded in ZWCAD. Please check carefully the installation and configuration that you have.
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

owenwengerd

I'm not sure demand loading ever worked on ZWCAD. I think they had at one time hard-coded OpenDCL to load automatically. In any case, you should be able to load the OpenDCL runtime module manually before loading your project.

juan

Thank you for your answers,
Forgive my ignorance, but what installation I have to review, zwcad or OpenDCL

this is the code of my lisp that works perfectly in autocad


(vl-cmdf "OPENDCL")
(if (not ADOLISP_ConnectToDB)
  (load
    "E:\\00Maven\\DevelopUS20323_Juan\\Web\\CentrioScafoldDesigns\\opedcl\\support\\ADOLISP_Library.lsp"
  )
)
(vl-load-com)
(dcl_Project_Load "E:PERI_Present.odcl" T)
  (dcl_Form_Show PERI_Present_PERIPRESENTACIOND)


Peter2

As Owen said, it is possible that not your code is the problem. It seems that Zwcad does not load OpendDCL.

The line (vl-cmdf "OPENDCL") loads OpendDCL only if the load_on_demand-function exists and is defined correctly.

So I would try to
a) comment out the line (vl-cmdf "OPENDCL") in your code
b) load the needed opnedcl-arx in another way: "appload" or "arxload" or ...
c) try your lisp again
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

juan

Thank you very much, very grateful, loading manually works perfectly
with appload

Juan