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
![]() |
|
![]() |
|
![]() |
|
![]() |
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
Are you sure its a lisp error? Looks like a VBA error to me, but I could be wrong.
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.... ▒
The lisp file & a dvb file were supplied. It use to work, then stop with the above error message.
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.... ▒
Nothing changed as far as I know.
Any fixes please.
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.
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.
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.
Thanks for your efforts. It looks like I will have to go back to renaming the bak files.