Hello,
I have problems with demand loading in AutoCAD Architecture 2017, when i try to load the .DLL file by adding path in Registry Key, it gives error as Unknown Command.
How to somehow load DLL on startup?
[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R21.0\ACAD-0007:409\Applications\CSharpDLL]
"DESCRIPTION"="CSharpDLL"
"LOADER"="C:\\Program Files\\CSharpDLL\\Test.dll"
"MANAGED"=dword:00000001
"LOADCTRLS"=dword:00000002
Thanks,
Omkar Gavand
Solved! Go to Solution.
Solved by Keith.Brown. Go to Solution.
When you demand load, your LOADCTRLS should be equal to 12. You also need to define the commands in a subkey.
Please see this article http://through-the-interface.typepad.com/through_the_interface/2006/09/automatic_loadi.html
And pay attention to the instructions under the Loading Modules on command invocation section.