Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

vlax-create-object returns nil in 64 bit AutoCAD

2 REPLIES 2
Reply
Message 1 of 3
bala1201
840 Views, 2 Replies

vlax-create-object returns nil in 64 bit AutoCAD

Hello All,

 

I have created a COM dll which has to be used with AutoCAD-VBA as well as AutoLisp. I have created this dll using Visual Studio 2005, VB.Net on a Windows XP system. I have created Windows Installer for the dll so that the registration part is taken care of. When I tried using this dll / tlb with VBA and Lisp, it works fine on Windows XP systems.

 

But when I tried on a Windows 7 Professional system with 64 bit AutoCAD, the VBA part works fine and the AutoLisp returns nil when using vlax-create-object. Sombody please throw me some idea on what I could have missed to make it work?

Thanks,

 

Bala

 

2 REPLIES 2
Message 2 of 3
diagodose2009
in reply to: bala1201

Little  Help, i hope work.....

 

step1)

You run : regsvr32.exe and you register  you DLL in windows7

You search in google.com , how to register a com-objectj

 

step2) You DLL req.  others DLL from Visual Basic .These others DLL. missing from Windows7 or exist incompatibiles between your DLL and otherDLL

You recompile  your DLL with lastest version of VisualBasic2013...

You update the last version of VisualBasic2012 runtime

 

 

Message 3 of 3
bala1201
in reply to: diagodose2009

Thanks for your response.

 

Compiling from a 64 bit system and registering the dll using Regasm solved my problem.

 

- Bala

 

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

Post to forums  

Autodesk Design & Make Report

”Boost