kiboost Posted October 14, 2010 Posted October 14, 2010 Hi, I'm testing UnixTime.au3 and can't it to work I have the include, it find the function, but allways return false. I've downloaded CrtDll.dll, but maybe it's not the right one ? It is from 1999 and I'm on win7 x64 I need to compare a modified time file to actual system time, and can't find how to make this work. Cheers, Kib Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79
MvGulik Posted October 15, 2010 Posted October 15, 2010 Right ... How about: - a link to the UnixTime.au3 UDF you using. - the code that your using to call the UnixTime.au3 function(s). And maybe. as this seems to be a secondary problem. - a link to where you got the CrtDll.dll file you using. - a small dump of the "time file" content. "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ...
kiboost Posted October 15, 2010 Author Posted October 15, 2010 I've done a very simple script to test it #include <UDF\UnixTime.au3> $Kfile = "\\server\Documents\_Cache\Kfile.txt" $reportime = FileGetTime($Kfile, 0) $time = _TimeGetStamp() $reportime = _TimeMakeStamp( $reportime[5], $reportime[4], $reportime[3], $reportime[2], $reportime[1], $reportime[0]) MsgBox(0, "", $reportime&@CRLF&$time) Both report false. I download unixtime there : http://www.therks.com/autoit/udfs/ and dll there : http://www.dll-files.com/dllindex/dll-files.shtml?crtdll Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79
MvGulik Posted October 15, 2010 Posted October 15, 2010 Don't know if win7 has some issues with older CrtDll.dll version. You could try the one from http://www.dlldump.com -> v4.00.6 Is the CrtDll.dll registered correctly ? (regsvr32 CrtDll.dll) (Is CrtDll.dll not included with win7 ?) "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ...
kiboost Posted October 15, 2010 Author Posted October 15, 2010 Well, I've solved this with converting both times returns to sec and compares them. just two lines of code, simpler/faster ;-) Thanks, Kib Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79
laurin1 Posted February 28, 2011 Posted February 28, 2011 So, has a solution to this not been found? I'm having the same trouble....problem is, it was working fine until 2/17/11. Keith Davis MCSA, ZCE, A+, N+ http://www.laurinkeithdavis.com
laurin1 Posted February 28, 2011 Posted February 28, 2011 Never mind. Downloaded newest version of UnixTime.au3 and it works fine. Keith Davis MCSA, ZCE, A+, N+ http://www.laurinkeithdavis.com
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now