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
It seems that the ARX is not loaded in ZWCAD. Please check carefully the installation and configuration that you have.
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.
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)
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
Thank you very much, very grateful, loading manually works perfectly
with appload
Juan