Sqlite on 64-bit Windows Vista

Discussion in 'Questions (Windows Mobile)' started by ohkovar, Aug 29, 2008.

  1. ohkovar

    ohkovar Member Licensed User

    Is there a way to run a B4P compiled application with Sqlite on a 64-bit Windows Vista machine (with AMD 64-bit processor)? Our program works great on every machine except the 64-bit version.

    I get the following error when loading the application:

    "Could not load file or assembly 'System.Data.SQLite, Version=1.0.40.0...An attempt was made to load a program with an incorrect format."

    Any advice?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Please download the attached file and copy System.Data.SQLite.dll to the folder of your executable.
    It wasn't tested on a Vista 64 bit machine. Please tell me if it worked.
     

    Attached Files:

  3. ohkovar

    ohkovar Member Licensed User

    Didn't work

    Sorry for the long delay. I finally had a chance to test the new dll to no avail. I got the same error message mentioned earlier.

    Any other suggestions?

    Has a new version that is 64-bit tested come out since the last posting on this thread?

    Thanks
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    A solution will be available soon.
    Probably with the release of Basic4ppc version 6.50 which should be in about 2-4 weeks.
     
  5. ohkovar

    ohkovar Member Licensed User

    Thanks! Will this version be tested on 64-bit Vista?

    I'll be waiting for it!
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    Yes.
    Did you encounter any other issues other than this one?
     
  7. ohkovar

    ohkovar Member Licensed User

    This is the only error so far.
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    This issue is fixed in the new version.
    Compiled applications are not marked as 32 bit applications.
    Some of the libraries include native code which is 32 bit code. These libraries didn't work correctly on the 64 bit OS.
    In the new version the compiled applications will be properly marked as 32 bit and all libraries will work correctly (no need to change the libraries).
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice