Old VBA (32 Bit) Does Not Run on New 64 Bit

Old VBA (32 Bit) Does Not Run on New 64 Bit

Anonymous
Not applicable
1,410 Views
2 Replies
Message 1 of 3

Old VBA (32 Bit) Does Not Run on New 64 Bit

Anonymous
Not applicable

Hi 

i am trying to install AutoCAD 2018 VBA module 64-bit for autocad 2018 but getting error Microsoft Visual C++ Runtime Library Debug Assertion Failed!

 

please help me put of this issue.

 

0 Likes
1,411 Views
2 Replies
Replies (2)
Message 2 of 3

norman.yuan
Mentor
Mentor

Your description of the issue does not match the title of your post, which is very confusing?

 

Is your problem not able to install AutoCAD 64-bit VBA Enabler, or you have installed 64-bit VBA but your old 32-bit VBA code does not run?

 

Also, you'd better mention which version of AutoCAD you are using (and 32 or 64-bit?).

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 3

Anonymous
Not applicable

First,  you can't install 64bit vba  in AutoCAD 32bit  
what you have to do is first install AutoCAD 2018 64bit  and then the 64but vba module

or your problem is that you try to run code in  the wrong 64 or 32 bit module.  it is possible but you have to change your declerations

here you can see how to use both   https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/ptrsafe-keyword

0 Likes