I currently have a collection of DLLs, one has the ACad interface stuff to abstract most development away from AutoCAD and another as the main application. My problem is I have the Main app autoloading but it doesn't actually start until I type in a command from my commands. Then it initializes my IExtensionApplication.
Is there anyway to go about doing that automatically so I don't have to run a command?
Hello
Close AutoCAD
Open Acaddoc.lsp file (it must exists in the path that you installed your application)
and in the end of file write:
(c:commandDLL)
for example
(c:qsave)
(c:WhateverCommandMadeInDLL)
Save and close the file and that's it
Every time you opend AutoCAD it executes your dll's
I don't have the script right now I'me running from VS debugger and the reg pointer is currently to that .dll debug folder.
It doesn't matters, if you put the following lines
(c:NameCommand)
in the file Acaddoc.lsp
When you're debugging your application from Visual Studio the command executes immediatly.
good luck
I got it what I wanted to do, I changed one of the reg values to autoload and execute it to get me extension to display on startup.