LOADCTRLS problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have encountered and issue when trying to demand load my .NET dll. I'm using AutoCAD 2011 and I can successfully load the dll with my LOADCTRLS registry entry value of 2 (Loading on startup), but my desire is to load it on command invocation. I have COMMANDS keys defiined and I have tried changing the value of LOADCTRLS to 4, 8 and a combination of both (which is "c" in hex), but always with the same result of "Unknown command". Any ideas on why it will load on startup but not on command invocation would be helpful. Here are the reg entries...
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R18.1\ACAD-9001:409\Applications\MyApp]
"LOADCTRLS"=dword:0000000c
"MANAGED"=dword:00000001
"LOADER"="C:\\MyApp\\MyApp.dll"
"DESCRIPTION"="My Application"
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R18.1\ACAD-9001:409\Applications\MyApp\Commands]
"sma"="sma"