From:http://discussion.autodesk.com/thread.jspa?messageID=4531456
In HKLM/Software/Autodesk/AutoCAD/R16.1/ACAD-301:409/Applications add your
own key with the following values:
/myApp
"DESCRIPTION"="myApp"
"LOADER"="C://wherever//myApp .dll"
"LOADCTRLS"=dword:00000002
"MANAGED"=dword:00000001
plus a sub key:
myApp/Commands
"StartmyApp"="StartmyApp"
- where StartmyApp is a valid command within your app.
Now the app will load whenever AutoCAD is started. To auto initialize it,
you could add:
to your code:
_
Public Sub StartmyApp()
.....
End Sub
Then a call to StartmyApp in ACAD.LSP, ACAD.MNL, or anything else that
autoloads.