Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
Jedimaster
465 Views, 1 Reply

CommonDialog

I am try to load the common didag browse box.

 

(vlax-create-object "MSComDlg.CommonDialog")

comes back nil

 

I am running AutoCAD 2010 Windows 7 64 bit.

Any ideas would be helpful.

 

 

 

 

1 REPLY 1
Message 2 of 2
wayne.brill
in reply to: Jedimaster

Hi,

 

My guess is that MSComDlg.CommonDialog is 32 bit trying to load into AutoCAD 64 bit process space. Are you able to use the CommonDialog in VBA? AutoCAD VBA IDE is a 32-bit application running in a separate process space to AutoCAD 64-bit.

 

Perhaps using the AutoLISP function getfiled could provide a way to get the files instead.

 

Cheers,

Wayne Brill

Autodesk Developer Network

 



Wayne Brill
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Autodesk Design & Make Report

”Boost