marbile Posted August 24, 2013 Posted August 24, 2013 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! Quote
SLW210 Posted August 25, 2013 Posted August 25, 2013 I moved your thread to the .NET, ObjectARX & VBA forum. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.