Failed to open document - odcl.lsp for VLX

Started by JMack · 2007-12-28 21:03 UTC · 3 replies · SMF topic #125

Is it possible to open an odcl file after you have saved it with a lisp extension?  I've set the password and the file does complile into the VLX.  I just keeping getting the message "Failed to open document."

I could open the exaple "distsample1.odcl.lsp" but if I modify the form and save the file I cannot open it in the editor anymore.  I also get this AutoCAD error message when I try to show a form -> "error: ADS request error" (this error occurs for both odcl and odcl.lsp forms).

Thanks
I can reproduce this.  I'm not sure what's going on, but I'll investigate and make sure this gets fixed for OpenDCL 5.0 Alpha 1 (due soon).
The problem occurs when the file is saved in Unicode format. You can work around the problem by opening the .lsp file in Notepad and saving it in ANSI encoding.  It should then open correctly.  This will be fixed in OpenDCL 5.
Thanks Owen.  ADS error issue was my fault.  I passed a string to DCL_Form_Show :D