You can't call 32-bit code from 64-bit code or vice versa.  That's not 
SQLite...that's any software.

So if you were to build a 64-bit DLL, distribute your application, and your 
user then installed a 32-bit DLL things could/would break.

That's why many of us recommend compiling sqlite into your application if you 
can so you won't have to worry about that.

You've picked up on what many learn by mistake.

If you put sqlite3.c in your project  you'll find you can compile either 64-bit 
or 32-bit and everything will work just fine and your users will never have any 
problems (at least from 32-bit/64-bit compatibility).


Michael D. Black
Senior Scientist
NG Information Systems
Advanced Analytics Directorate




From: [email protected] [[email protected]] on 
behalf of mmxida [[email protected]]
Sent: Sunday, September 25, 2011 4:09 AM
To: 'General Discussion of SQLite Database'
Subject: EXT :[sqlite]答复: Is SQLite supporting x64?


Roger, Thanks for your reply, that almost clear my doubts. BUT,
Have the SQLite develop team already concern the 64-bit issue when they
begin the project? Is all the C code is independent of the platform-specific
API? As I know, a pointer is 64-bit long on 64-bit Windows as well as a int.
How do they avoid the difference between the win32 and x64 in a
implementation level?

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to