Is there a way to encrypt a DCL file to protect it. We currently encrypt our lsp files to fas.
If i remember correctly, you can combine your lsp and dcl into one VLX file. Just use visual lisp - make application and select the lisp and dcl as the source files "jclaidler" <-usa.com> wrote in message news:... Is there a way to encrypt a DCL file to protect it. We currently encrypt our lsp files to fas.
Although that is an ideal solution, you can also code your lisp routine to write the DCL at run-time (could be used when the dialog is not very complex, or if you are still on R14, or if your program is in a different language like C++)
I don't think this actually encrypts the dcl file. If you open the VLX in a text editor, I think you can still read the DCL information.... "Casey" <> wrote in message news:... If i remember correctly, you can combine your lsp and dcl into one VLX file. Just use visual lisp - make application and select the lisp and dcl as the source files "jclaidler" <-usa.com> wrote in message news:... Is there a way to encrypt a DCL file to protect it. We currently encrypt our lsp files to fas.
Hi, It's not even iffy. As soon as the dialog box is displayed in AutoCAD, you can move over to Explorer, find the DCL file and read it, copy it to another file etc. long before the lisp program can delete it. -- Laurie Comerford CADApps www.cadapps.com.au
Yes, I realize that. My thinking was that the OP wanted it "encrypted" so that it's run-time appearance couldn't be tinkered with. If you re-write the DCL each time the routine is executed - then you have control over the dialog appearance. If the intent of the OP was to actually keep the DCL code from being viewed - then yes VLX is probably the only way.
open the VLX in a text editor, I think you can still read the DCL information.... I don't see how. Do you have an example?