PureBasic Forum
https://www.purebasic.fr/english/

Unclear about the 32/64-bit implications
https://www.purebasic.fr/english/viewtopic.php?f=7&t=70839
Page 1 of 1

Author:  RobertSF [ Sat Jun 09, 2018 10:53 pm ]
Post subject:  Unclear about the 32/64-bit implications

Anything I develop will run on Windows 7 or higher, which is 64 bit, but will have to handle 32-bit data sources via ODBC. I've purchased the PB license.

Do I download the 32-bit or the 64-bit version?

Is there really any point in downloading both versions?

Author:  DontTalkToMe [ Sat Jun 09, 2018 11:05 pm ]
Post subject:  Re: Unclear about the 32/64-bit implications

In practice and for normal software the answer is no, unless your programs need or work better with a lot of RAM.
If you are happy with the 2GB limit for your 32 bit process, just write 32 bits software and you will not miss anything.

Author:  Trond [ Sat Jun 09, 2018 11:10 pm ]
Post subject:  Re: Unclear about the 32/64-bit implications

From a quick google search, it seems like you need to use the 32-bit version (which generates a 32-bit program) to access 32-bit odbc sources. That's because odbc drivers are dlls, and a 32-bit dll cannot be loaded into a 64-bit program (and the other way around).

Author:  DontTalkToMe [ Sat Jun 09, 2018 11:29 pm ]
Post subject:  Re: Unclear about the 32/64-bit implications

There are software bridges to use 32 bit ODBC from a 64 bit process but there is no point when you can write 32 bit software in the first place and be happy with it.
https://stackoverflow.com/questions/113 ... river-on-w

I found this nice 64 bit ODBC primer
https://www.easysoft.com/developer/inte ... 4-bit.html

Author:  kenmo [ Sun Jun 10, 2018 3:06 am ]
Post subject:  Re: Unclear about the 32/64-bit implications

RobertSF wrote:
Windows 7 or higher, which is 64 bit


Windows 7 is on 64-bit and 32-bit systems! I don't know if Windows 8+ was released 32-bit...

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/