[AccessD] 32->64 bit conversion

Arthur Fuller fuller.artful at gmail.com
Tue Dec 21 12:17:34 CST 2021


This function is from ADH 2000 (Getz, Litwin et. al.):
<code>
Private Declare Function SendMessageStr _
 Lib "user32" Alias "SendMessageA" _
 (ByVal hwnd As Long, ByVal wMsg As Long, _
 ByVal wparam As Long, ByVal strName As String) As Long
</code>
Not surprisingly it's not in the PtrSafe file. I inserted the word PtrSafe
after the Declare  keyword. Judging by their names, I'm guessing that the
parameters  declared as Longs should be LongPtrs, and perhaps the return
value should be as well. Is that right?
Arthur


More information about the AccessD mailing list