Search the Community
Showing results for tags 'dll'.
-
I've created a dll, with a few commands, in Visual Studio. It all works great on my PC, but when I Netload it on another PC, it doesn't recognize my commands. It does not give error messages at any time. It just doesn't work (as if I didn't load it). Can anyone help please?
-
Map 2013,calling vla-GetInterfaceObject to Visual Basic 6.0 dll on Windows7 64 bits
marbile posted a topic in .NET, ObjectARX & VBA
I have a Visual Basic compiled ActiveX dll, (call marVbUtils.dll, with a lot of map utilites) written in Visual Basic 6.0. It works fine in XP with Map 2009 There, I connect with the ActiveX dll from visual lisp, like this: (vla-GetInterfaceObject (vlax-get-acad-object) ""marVBasic.marVbUtils") and get the com object with no problem (in XP). Now, I am migrating to Map 2013 64bits (in Windows 7 64bits) I managed to install Visual Basic 6.0 on the Windows 7 64 bits, and nicely compile the same dll (changing some references to the new Autocad Map) Then I register the dll with system32/regsvr32, for the 64 bits, AND also with syswow64/regsvr32 for the 32bit implementation. But... when trying to get the interface from lisp, as in (vla-GetInterfaceObject (vlax-get-acad-object) ""marVBasic.marVbUtils") it returns: "Automation Error. Problem in loading application" (I have a lot of work done in Visual Basic 6.0 since map 2001, and migrating it means a big big time consumming issue, like months..., or ...forever) I am afraid of guessing that it is not possible at all to run in 2013 64bits, a dll compiled in Visual Basic 6.0. But before i commit suicide i want to take a last chance to save my life in this forum. If anyone knows how to migrate a Visual Basic 6.0 dll to use in Windows 7 64bits with Autocad Map 2013 64 bits, please let me know before its too late. Thanks anyway!- 1 reply
-
- visual basic
- vb6
-
(and 3 more)
Tagged with:
-
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.