encrypt dcl file

jclaidler

Usenet Archive
Joined
Apr 30, 2003
Messages
185
Reaction score
0
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" <> wrote:

Is there a way to encrypt a DCL file to protect it. We currently encrypt our lsp files to fas.
 
Casey said:
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

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:

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" <> wrote:

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.
 
Paul Turvill said:
But remember ... the resulting .dcl file will be in plain text. That kinda defeats the intent of the original post.

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.
 
Joel Roderick said:
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....

I don't see how. Do you have an example?
 

Latest threads

Back
Top