Can I run OpenDCL in both Acad2007 and 2009?

Started by vosey, June 10, 2009, 01:57:11 AM

Previous topic - Next topic

vosey

Hi,  I'm experiencing a problem when attempting to run OpenDLC in AutoCAD 2007.  I also have AutoCAD 2009 on my PC and that seems fine, When I start Acad 2009 I see a line that says 'OpenDCL Runtime [5.0.1.6] loaded' and all's fine, but when starting AutoCAD 2007 I just see a line '_OPENDCL' when starting up, and then "(*ERROR* "no function definition: DCL_PROJECT_LOAD").  the curious thing is that it has been working on both versions without a problem for many months, until today!.  If I try to load the arx file using (arxload "OpenDCL.17.arx"), (the file is on the search path) The error message I get in 2007 is that the OpenDCL Local Language resource module was not found and that I need to reinstall OpenDCL runtime, I have tried reinstalling runtime several times but when I hit 'run' the progress bar gets to 6% and stays there.  If I try to install the OpenDCL Studio', I get to 98%, and then it hangs.  I have also tried the repair option but this too has made no difference.  If OpenDCL is not designed to run on multiple versions that's fine, but as I say, I'm sure it has been! Unfortunately I need two versions as I support different offices.  I've just discovered that once AutoCAD2007 has started and after I get the error message about "no function definition: DCL_PROJECT_LOAD" - if I subsequently enter 'opendcl' at the acad command prompt, it loads fine ('OpenDCL Runtime [5.0.1.6] loaded' ), but it doesn't appear possible to automate the load prior to running the 'dcl_project_load' command.   Sorry if this rambles on a bit, I'm just hoping someone recognises what it is I've done wrong, and can point me in the right direction!!.   Cheers Pete

stephan_35

Hello,

I had the same message : "Local Language resource module was not found" with OpenDCL 5.x .

My soluce was to copy all languages file "ENU" "FRA" ... in path were are arx files ....

Stéphan.
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

vosey

Thanks, any ideas where I can hold of these files?

stephan_35

Quote from: vosey on June 10, 2009, 05:05:54 AM
Thanks, any ideas where I can hold of these files?

In fact, you have to install the run-time OpenDCL tools.
here "C:\Program Files\Common Files\OpenDCL" you will find arx files for AutoCAD2007/2008/2009 and Languages runtimes folder.

You should copy all these folder in the correct path in autocad, where it can find them ...

OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

vosey

Tried that and still the same result (it won't work)! - All of the dll files in all of the various OpenDCL Folders are now on my search paths.  Thanks for your suggestions though Stephan.

stephan_35

Sorry,

I wrote arx files, not dll files  ;)

See attached files !

I only copies ENU and FRE Languages files (which i use)

Hope this will help you   ;)



OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

owenwengerd

Please do not copy files manually; that is what got you into this mess.  You'll need to uninstall OpenDCL Studio and OpenDCL Runtime, then find all OpenDCL files on your hard drive and delete them. Then you'll need to undo all the manual edits you've made to your AutoCAD configuration (removing OpenDCL from startup suite, acaddoc.lsp, etc.), remove your changes to the AutoCAD support path, etc.  Once you have a clean system, delete your temporary internet files, then download and install OpenDCL again.  If it does not work, do not try to fix the problem until you know what the problem is. You can install with full logging so that you'll know exactly what causes the installation to fail.

vosey

I consider myself told Off Owen!! - but as far as I was aware I hadn't touched the Installation of OpenDCL, although I now guess it's likely I may have inadvertantly moved a folder or something. Well it's now working! - I understand the correct way forward is to clean all traces of OpenDCL and reinstall but now all arx files and language folders have been placed in exactly the same setup as Stephans screen shot and they can be seen by AutoCAD.  When I first tried it I got the same error, but putting (arxload "opendcl.17.arx") in my mnl file too seems to have been the final touch (bodge), and it's working.  I still don't really get why on my 2nd PC I don't need to explicitly load it, but on my 1st PC I do (although having just read Owens reply I probably now do),  anyway- can't complain! .  Your time help is very much appreciated.  If my bodge causes further problems Owen I promise to do a proper cleanup - lesson learnt!.

BazzaCAD

Quote from: vosey on June 10, 2009, 07:06:59 AM
I still don't really get why on my 2nd PC I don't need to explicitly load it, but on my 1st PC I do (although having just read Owens reply I probably now do),  anyway- can't complain! .

Did you maybe have the Studio & the Runtime installed on the same PC?
You only need one or the other.
When OpenDCL (Studio or Runtime) it installed it creates a registry key that will demand load the ARX when the "OPENDCL" command is run. That's why you "shouldn't" have to "explicitly load it".
If files are moved or loaded from somewhere else on the network, that's when the things gets screwy.
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

vosey

Yes, both the runtime and studio were installed on the same PC so I guess that didn't help.   If the problem reoccurs I'll have my PC Wiped and start again - now I know the possible pitfalls.