Results 1 to 3 of 3
  1. #1
    trevor40's Avatar
    trevor40 is offline Advanced db Manager
    Windows XP Access 2003
    Join Date
    Feb 2014
    Location
    Australia
    Posts
    402

    2003 private declare function error on 64bit version pc


    Hi all, I have an issue were the code I have in my db works fine on systems using access 2003 but when used on access 64bit it gives an error of - the code in this project for use on 64-bit systems. Please review and update Declare statements and then mark them with ptrsafe the attribute.

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,716
    I don't have office/access 64 bit.
    If you search google/bing for access32 vs access64

    You'll find things like this
    Well Access 2010 x64 IS 64 bit, CODE WISE, so if you create a Long
    integer, it is a 64 bit number. They just didn't create a 64 bit
    Database inside it... yet. Because a 64 bit database would be unusable
    to a 32 bit version of Access. That wouldn't fly at all, it's one thing
    for the interface to not work between 32 bit and 64 bit versions, but
    for the data to be unusable between version would never fly.
    see more at http://bytes.com/topic/access/answer...-compatibility

    Many will ask why have you decided to use 64 bit Access?

  3. #3
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    all I can add is: in most cases 32 bit Access will work on 64 but not the other way. I believe however 64 Operating System has a different reference to COM events. if the code is calling a COM event it would need to be re-referenced.

    other than super huge excel requirements I have never seen a compelling reason to install 64 Office. 32 Office will install on 64 OS just fine.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Turning Private Function Into Public
    By g4tv4life in forum Programming
    Replies: 1
    Last Post: 02-04-2014, 05:31 PM
  2. Replies: 3
    Last Post: 01-10-2014, 09:35 AM
  3. Calling a Private Function from Another Form
    By MintChipMadness in forum Programming
    Replies: 1
    Last Post: 01-07-2013, 12:08 PM
  4. Replies: 9
    Last Post: 12-20-2010, 08:05 PM
  5. Replies: 2
    Last Post: 06-23-2010, 06:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums