I want to ask all of you if there is some other alternative way to get the REAL date of today because user can change the windows date very easily and my application could be fooled.
Thank you all for reading my post. I hope somebody could help me.
The Extension 'zip' was deactivated by an board admin, therefore this Attachment is not displayed.
Joined: 29 Nov 2006 Posts: 449 Location: The yogurt country
Posted: Tue Jun 03, 2008 6:24 am Post subject:
The problem is the same.
I allready use GetSystemTime Function so i tried GetLocalTime();
I've good nice example here of GetLocalTime(); but if i still change my windows clock date my program shows the edited date, not the real (3 June 2008).
And about "SYSTEMTIME", couldn't see it in Delphi ...
So do you have any other good ideas, about extracting some system files the last modified date or something like that? I just need ideas. _________________
Check that link. It goes into a bit of detail as to why you get errors. (I dunno Delphi so I'm not sure if theres working code there to solve the issue.) _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum