Search the Community
Showing results for tags 'netload'.
-
Problem with Automatic Loading of .NET DLLs in AutoCAD Architecture
zetazee posted a topic in .NET, ObjectARX & VBA
I created a dll and wanted to auto netload it upon launch of AutoCAD Arch. I have used the following instructions in http://http://through-the-interface.typepad.com/through_the_interface/2006/09/automatic_loadi.html "DESCRIPTION"="AutoNetloadDLL" "LOADCTRLS"=dword:00000002 "MANAGED"=dword:00000001 "LOADER"="C:\MyApp\bin\Release\MyApp.dll" However, when i typed in my commands for the dll, AutoCAD displayed Unknown Command "". Press F1 for help. I have tried suggestions by people comments in the above link (i.e. setting acdbmgd.dll and acmgd.dll to Copy Local = False, restarting computer) , but I have done so, and the error still persists. I also have used the method as suggested by writing a STARTUP lisp function to auto netload the dll file in http://www.cadtutor.net/forum/showthread.php?42633-Automatic-Loading-of-.DLL-files-etc&highlight=netload But the same error persists. Would like to ask if anyone has encountered the same issue before, and can enlighten me on how to solve this problem? I have used Process Explorer to check if acad.exe has loaded the DLL, and it did! But the commands are not found. When I manually netload the dll by typing the netload command and selecting the dll, there is no such issue. This only occurs to me when I tried the auto methods. The methods only works so far if I launch acad.exe through Debug mode in VS2008. Definitely need to auto netload the DLL for my application, when AutoCAD Arch startups.