Hi all,
I have an Access database that was created (I believe, as I "inherited it" I'm not sure when) with Access 2003. I have upgraded some machines to Win7 64bit and Office 2010 64bit, and now it doesn't work. I get a grumbling from the application that "kernal32" is not compatable with 64bit, the exact error I get is:
Compile Error:
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.
The offending line is always on the "kernal32" line.
Two instances like:
Is this an "easy fix" to make this run under 64bit machine?
Thanks in advance for any help.
Best Regards,
Scott
"Everything should be made as simple as possible, and no simpler."
I have an Access database that was created (I believe, as I "inherited it" I'm not sure when) with Access 2003. I have upgraded some machines to Win7 64bit and Office 2010 64bit, and now it doesn't work. I get a grumbling from the application that "kernal32" is not compatable with 64bit, the exact error I get is:
Compile Error:
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.
The offending line is always on the "kernal32" line.
Two instances like:
Code:
Private Declare Function GetLocaleInfo _
Lib "kernel32" _
Alias "GetLocaleInfoA" _
(ByVal Locale As Long, ByVal LCType As Long, _
ByVal lpLCData As String, ByVal cchData As Long) As Long
Private Declare Function GetSystemDefaultLCID _
Lib "kernel32" () As Long
Is this an "easy fix" to make this run under 64bit machine?
Thanks in advance for any help.
Best Regards,
Scott
"Everything should be made as simple as possible, and no simpler."