Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

dgorsman
en respuesta a: Anonymous

A little disappointed at that KB - somewhere between bad practices and wrong.

 

Do NOT use the LSP files with the version number in the name (ACAD____.LSP, ACADDOC____.LSP).  Those are reserved for use by the program.  Create your own ACAD.LSP and ACADDOC.LSP files, which will execute when the program loads (ACAD.LSP) and when each document loads (ACADDOC.LSP).  Since DLLs are loaded for the session and cannot be unloaded, that should only be used with the former.

 

But I would recommend you use the Option B provided - set up a registry key for demand loading, or look into creating an auto-loader bundle.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.