[AccessD] 64 bit app
Ryan Wehler
wrwehler at gmail.com
Thu Jan 5 21:32:30 CST 2017
I wanted to mention for thoroughness sake that LongLong is not necessarily needed to make the API function 64 bit safe.
References: http://www.jkp-ads.com/articles/apideclarations.asp
I see some LongPtr usually for handles. But most of the Long types stayed simply Long and not set LongLong.
> The code snip wrapped strangely. Trying again: #If Win64 Then Private Declare PtrSafe Function CreateProcessA Lib "kernel32" ( _ ByVal lpApplicationName As LongLong, _ ByVal lpCommandLine As String, _ ByVal lpProcessAttributes As LongLong, _ ByVal lpThreadAttributes As LongLong, _ ByVal bInheritHandles As LongLong, _ ByVal dwCreationFlags As LongLong, _ ByVal lpEnvironment As LongLong, _ ByVal lpCurrentDirectory As LongLong, _ lpStartupInfo As typStartupInfo, _ lpProcessInformation As typProcInfo) As LongLong #Else Private Declare Function CreateProcessA Lib "kernel32" ( _ ByVal lpApplicationName As Long, _ ByVal lpCommandLine As String, _ ByVal lpProcessAttributes As Long, _ ByVal lpThreadAttributes As Long, _ ByVal bInheritHandles As Long, _ ByVal dwCreationFlags As Long, _ ByVal lpEnvironment As Long, _ ByVal lpCurrentDirectory As Long, _ lpStartupInfo As typStartupInfo, _ lpProcessInformation As typProcInfo) As Long #End If
More information about the AccessD
mailing list