Get time difference without time() (solved) [INFO]

new topic     » topic index » view thread      » older message » newer message

for info only:

I now get the replacement for time():

global function timer()
    if platform() = 2 then
return (c_func(define_c_func(open_dll("kernel32.dll"), "GetTickCount",
        {}, C_LONG), {})/1000)
    else
        return time()
    end if
end function

I got it from a VB mailing list.

It has 0.001 second accuracy, you can use it if you want.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu