[AccessD] 64 bit app

McGillivray, Don DMcGillivray at ctc.ca.gov
Fri Oct 9 15:24:02 CDT 2015


Oh well.  Just note the "#Else" and "#End If" that don't appear at the leftmost indent level where I intended them to be.

-----Original Message-----
From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don
Sent: Friday, October 09, 2015 1:19 PM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] 64 bit app

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