SRL Archive - Help

GetSystemTime not working with SRL


HT BaaFly

2011-11-26 05:01:18

Everytime I try to use the function, GetSystemTime, it works fine, but when I attempt to setup SRL along with it, it will return no value.

E.g.

program new;
{$i SRL/SRL.scar}

begin
SetupSRL;
writeln(GetSystemTime);
end.

Are there any ways to circumvent this?

YoHoJo

2011-11-26 05:11:39

This thread here might explain things:
http://villavu.com/forum/showthread.php?t=66283&highlight=GetSystemTime

HT BaaFly

2011-11-26 05:21:09

Read that thread before posting but it had nothing of use to me. also tries GetTickCount(), same result as GetSystemTime

i luffs yeww

2011-11-26 06:52:40

Huh. Seems odd. Works just fine for me in both cases (on Win7 x64). What OS are you on? Not sure what that would change, but maybe it could shed some light.

HT BaaFly

2011-11-26 06:58:10

Same as you win 7 x64

HT BaaFly

2011-11-26 06:59:47

nvm, restarted computer and it's working now