Hi everbody,
My problem is that I did my project with AutoCAD 2012 also used VBA. It work so good with 32 bit AutoCAD 2012.
However, when l try different computer Autocad 2014 64 bit, same codes also I downloaded everthing. (VBA 2014 64 bit). it doesn't work.
I put picture on attachment.
Can somebody give me any tip?
Thanks...
You can click VBA menu "Tools->References..." to open "References" dialog box to see which component/library is flagged as "missing....".
Since your VBA project was developed against 32-bit VBA while you are trying it with 64-bit VBA, it is very likely that something in the VBA project is 32-bit specific, such as some controls/components is 32-bit version, therefore cannot be used in 64-bit VBA. If it is this case, you must identify and replace them with 64-bit version of equivalent, which may not exist in most cases, by the way.
I am having the same issue with this: Private Declare Sub Sleep Lib "kernel32" needing to be in 64 bit version
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Public Sub Wait(Seconds As Single) Dim lMilliSeconds As Long lMilliSeconds = Seconds * 1000 Sleep lMilliSeconds End Sub
Does anyone know what the 64 bit compatible version is?
Actually, I tried in tools/referances every referances. But It seem not to work. But thanks for helping..
I can't send it to you because of academic codes. Thanks...
Akademik bir çalışma gönderemem. Teşekkürler...
Have you tried adding "PtrRSafe " to your declaration? ("Private declare ptrsafe function ... ")