encrypt dcl file

Discussion in 'AutoCAD' started by jclaidler, Aug 1, 2003.

  1. jclaidler

    jclaidler Guest

    Is there a way to encrypt a DCL file to protect it. We currently encrypt our lsp files to fas.
     
    jclaidler, Aug 1, 2003
    #1
  2. jclaidler

    Casey Guest

    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.
     
    Casey, Aug 1, 2003
    #2
  3. jclaidler

    jclaidler Guest

    Thanks
     
    jclaidler, Aug 1, 2003
    #3
  4. jclaidler

    R.K. McSwain Guest

    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++)
     
    R.K. McSwain, Aug 1, 2003
    #4
  5. 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.
     
    Joel Roderick, Aug 1, 2003
    #5
  6. 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
     
    Laurie Comerford, Aug 2, 2003
    #6
  7. jclaidler

    R.K. McSwain Guest

    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.
     
    R.K. McSwain, Aug 2, 2003
    #7
  8. jclaidler

    R.K. McSwain Guest

    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?
     
    R.K. McSwain, Aug 2, 2003
    #8
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.