Jump to content

Recommended Posts

Posted

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

Posted

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 ...
 

Posted

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

Posted

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 ...
 

Posted

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

  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...