Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Declare PtrSafe Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As LongPtr Use conditional compilation to maintain a single codebase for both bit-versions: autocad 2013 vba module 64-bit
You cannot install the VBA module while AutoCAD is running. Ensure the application is completely shut down. autocad 2013 vba module 64-bit