+ Reply to Thread
Results 1 to 2 of 2

Updating code to 64-bit system ?

  1. #1
    Registered User
    Join Date
    09-27-2009
    Location
    Dublin
    MS-Off Ver
    MS 365
    Posts
    97

    Updating code to 64-bit system ?

    I downloaded some excel games from http://www.happy2-island.com/e/excel.shtml

    When i open any of them I get a VBA error saying

    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.

    I'm running Win 7 / Excel 2010

    I've no experience with VBA - These are just some games I wanted to download to past the time.

    Is is easy to update and get working ?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Updating code to 64-bit system ?

    Here is an example of what kind of thing needs to happen. Here is some more of an explanation.

    If you have no experience with VBA then you may find this difficult. I was unaware of this issue before seeing your thread and reading this page. Excel 2010 provides a new version of VBA that supports 64-bit addressing but I am not sure why the code would have to be updated to be able to be used on a 64-bit system. I tried the first Sudoku game and had no problem. I am using Excel 2007 on a 64-bit machine, so maybe the problem is only evident if you are using 2010.

    Can you give a specific example of a game that gives you this error?

    Edited to add: I posted a new thread in the Programming Forum, which is more appropriate for this question.
    Last edited by 6StringJazzer; 02-18-2012 at 10:53 PM. Reason: as shown
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1