"The Code in this project must be updated for use on 64-bit systems. Please review and update Declare statements and then mark them with the PtrSafe attribute." --- Option Compare Database
Private Declare Function CopyFileA Lib "kernel32" _ (ByVal ExistingFileName As String, _ ByVal NewFileName As String, ByVal FailIfExists As Long) As Long ---
This seem to fix the error:
---
Option Compare Database
Private Declare PtrSafe Function CopyFileA Lib "kernel32" _
(ByVal ExistingFileName As String, _
ByVal NewFileName As String, ByVal FailIfExists As LongPtr) As Long
___
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Developer 6.