VLX Command Unknown

Discussion in 'AutoCAD' started by Jason, Feb 25, 2004.

  1. Jason

    Jason Guest

    I'm trying to compile my first VLX application under Arch Desktop 2004. Up
    until now I have always compiled my code into FAS files, which have worked
    fine, but this particular set of code relies on three DCL files as well, and
    for performance and distribution reasons, I'd like to compile it all into
    one VLX file.

    Using the Make Application Wizard (expert mode), I've successfully created
    the VLX file. Unfortunately, after I load it and try to run one of the
    defined C: functions at the command line, I get an Unknown Command error; if
    I try to load and run within the Visual LISP editor, it returns nil.

    Any idea what's going on? I've tried all different modes and options with
    the Make Application Wizard with the same results.

    Thanks in advance,

    Jason Peterson
     
    Jason, Feb 25, 2004
    #1
  2. Jason

    Daron Denton Guest

    are your source files/project file on a server? does your program work
    uncompiled?

    if so, i have a similar problem here. if your current vlx file size is very
    small, the source lisp files are not being compiled into the vlx. the
    workaround for my situation was to create a new project file on my local and
    compile at that location (source files still on the server - vlx compiled to
    local).


    hope this helps,
    daron
     
    Daron Denton, Feb 25, 2004
    #2
  3. Jason

    Rudy Tovar Guest

    Unless you provide the code, (which you won't), we'd only be guessing.

    So, since this is your first attempt at DCL with visual lisp, you more than
    likely made a mistake somewhere in the source code, or you compiled the DCL
    files as LSP files. You must specify DCL files defined in the pull-down.
    Again, I'm only guessing since I don't know what your code consists of.
    --

    AUTODESK
    Authorized Developer
    www.Cadentity.com
    MASi
     
    Rudy Tovar, Feb 25, 2004
    #3
  4. Jason

    Jason Guest

    Sorry for taking so long to reply.

    I think you misunderstood my statement or maybe I didn't make it clear.
    This isn't my first attempt at coding a DCL file. In fact, the lisp code
    and DCL's in question has been working for years in uncompiled and compiled
    FAS format. My understanding of VLX files led me to believe that I could
    combine all the lisp and DCL files into one compiled VLX.

    Daron's sollution appears to have worked.

    Unless you provide the code, (which you won't), we'd only be guessing.

    So, since this is your first attempt at DCL with visual lisp, you more than
    likely made a mistake somewhere in the source code, or you compiled the DCL
    files as LSP files. You must specify DCL files defined in the pull-down.
    Again, I'm only guessing since I don't know what your code consists of.
    --

    AUTODESK
    Authorized Developer
    www.Cadentity.com
    MASi
     
    Jason, Feb 26, 2004
    #4
  5. Jason

    Jason Guest

    That worked Daron. Thanks. Seems like a bug to me.

    "Daron Denton" <ask, and i'll give it to you> wrote in message
    are your source files/project file on a server? does your program work
    uncompiled?

    if so, i have a similar problem here. if your current vlx file size is very
    small, the source lisp files are not being compiled into the vlx. the
    workaround for my situation was to create a new project file on my local and
    compile at that location (source files still on the server - vlx compiled to
    local).


    hope this helps,
    daron
     
    Jason, Feb 26, 2004
    #5
  6. Jason

    Daron Denton Guest

    <jumping around waving arms>

    i'm not crazy! i knew it!

    i had asked this question and posted this work around before, and was shot
    down and flamed by some here.

    thanks for posting back. :eek:)

    daron
     
    Daron Denton, Feb 26, 2004
    #6
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.