Change data types from Long to LongPtr for variables storing window handles ( hWnd ), process handles, or memory pointers.
Select the (typically named Autodesk_AutoCAD_2015_VBA_Enabler_64bit.exe or similar). Step 3: Run the Installation Process
As a forum expert noted, “At this stage of ActiveX components, in terms of the technology's age, I would not expect there will be more 64‑bit components available, which makes using AutoCAD's 64‑bit VBA for advanced development very difficult”. autocad 2015 vba module 64-bit
AutoCAD 2015 VBA supports the LongPtr data type introduced in the VBA 7.1 update.
: You have three options, none of which are simple: Change data types from Long to LongPtr for
Due to the shift to 64-bit, some code cleanup was required. For instance, the ObjectId32
Use the pre-defined compiler constants VBA7 and Win64 to write code that runs seamlessly across both architectures: AutoCAD 2015 VBA supports the LongPtr data type
The AutoCAD 2015 VBA module 64-bit offers several benefits to users, including:
Due to licensing, Autodesk cannot include the VBA engine directly in the AutoCAD installer.