AutoCAD Architecture Forum
Welcome to Autodesk’s AutoCAD Architecture Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Demand Load doesnot load DLL

1 REPLY 1
SOLVED
Reply
Message 1 of 2
prathamesh.gavand8
516 Views, 1 Reply

Demand Load doesnot load DLL

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

1 REPLY 1
Message 2 of 2

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost