Results 1 to 10 of 10

Thread: Compile error in hidden module: Macros

  1. #1
    Member
    Join Date
    2009-02
    Location
    Newcastle N.S.W. Australia
    Posts
    36
    Login to Give a bone
    0

    Default Compile error in hidden module: Macros

    Hi all,
    I have a lisp file that work fine but now I get the following message when I try to run it;
    Compile error in hidden module: Macros
    Anybody got any ideas how to fix this.
    Regards
    JohnB

  2. #2
    All AUGI, all the time arshiel88's Avatar
    Join Date
    2005-02
    Location
    Off the Grid
    Posts
    560
    Login to Give a bone
    0

    Default Re: Compile error in hidden module: Macros

    Are you sure its a lisp error? Looks like a VBA error to me, but I could be wrong.

  3. #3
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,409
    Login to Give a bone
    0

    Default Re: Compile error in hidden module: Macros

    A compile error means that your code violated the language's syntax. Are you building an fas? Does your lisp try to load vba?
    C:> ED WORKING....


    LinkedIn

  4. #4
    Member
    Join Date
    2009-02
    Location
    Newcastle N.S.W. Australia
    Posts
    36
    Login to Give a bone
    0

    Default Re: Compile error in hidden module: Macros

    The lisp file & a dvb file were supplied. It use to work, then stop with the above error message.

  5. #5
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,409
    Login to Give a bone
    0

    Default Re: Compile error in hidden module: Macros

    If you haven't changed the dvb (it is definitely the source of the error), then something on your pc has changed, e.g. you upgraded acad.
    C:> ED WORKING....


    LinkedIn

  6. #6
    Member
    Join Date
    2009-02
    Location
    Newcastle N.S.W. Australia
    Posts
    36
    Login to Give a bone
    0

    Default Re: Compile error in hidden module: Macros

    Nothing changed as far as I know.
    Any fixes please.

  7. #7
    All AUGI, all the time arshiel88's Avatar
    Join Date
    2005-02
    Location
    Off the Grid
    Posts
    560
    Login to Give a bone
    0

    Default Re: Compile error in hidden module: Macros

    In VBAIDE, check for "Missing" References(Tools -> References). First, uncheck them. If your codes does not need that reference, you're good to go. But if you get errors something like "User-defined type not defined", you need to get a copy of that ActiveX reference (usually a *.tlb,*.otb or a dll) and register in windows via REGSVR32 command-line.
    Last edited by arshiel88; 2012-07-11 at 02:03 AM.

  8. #8
    Member
    Join Date
    2009-02
    Location
    Newcastle N.S.W. Australia
    Posts
    36
    Login to Give a bone
    0

    Default Re: Compile error in hidden module: Macros

    Tried 'vbaide' but get asked for a password so I think it must be protected therefore I can't do as you suggest.
    The files are called openbak.lsp & openbak.dvb. They use to work OK but not now.

  9. #9
    Certified AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    5,069
    Login to Give a bone
    0

    Default Re: Compile error in hidden module: Macros

    Considering that vba is a dead end, abandonded by Autodesk and other vendors, perhaps it's time to think about replacing that routine. From the name, it _sounds_ like it is just a tool to open .bak files in Acad. if that's it, or if there's more, try posting in Customization with a description fo what you need this to do, and someone can help out with custom coding to handle that.

  10. #10
    Member
    Join Date
    2009-02
    Location
    Newcastle N.S.W. Australia
    Posts
    36
    Login to Give a bone
    0

    Default Re: Compile error in hidden module: Macros

    Thanks for your efforts. It looks like I will have to go back to renaming the bak files.

Similar Threads

  1. Replies: 6
    Last Post: 2012-08-23, 09:08 AM
  2. Replies: 8
    Last Post: 2009-10-27, 12:03 PM
  3. Replies: 0
    Last Post: 2007-06-26, 01:49 PM
  4. compile then execution error when trying to run
    By voigtmark in forum AutoLISP
    Replies: 3
    Last Post: 2006-04-14, 02:44 PM
  5. Compile Error???
    By msretenovic in forum VBA/COM Interop
    Replies: 13
    Last Post: 2005-09-06, 01:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •