07-07-2016
09:38 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
07-07-2016
09:38 AM
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.

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.