Date conversion with Delphi 5 not working on 64 bit ma -


i have delphi 5 program wrote , compiled on windows 8.1 32 bit machine. reads date text file , converts strtodate(). works on 32 bit pc have copied .exe 64 bit laptop (windows 7)and error '24/4/2015' not valid date. region, language, date settings same on both machines , difference can think of laptop 64 bit. affect date conversion?

this might "shortdateformat in win7 64-bit returning default" bug. solution seems to add somewhere in program init code following snippet:

setthreadlocale(getuserdefaultlcid); getformatsettings; 

Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -