SRL Archive - Development

Potential bug with GetSystemTime on WINE


slushpuppy

2014-09-28 09:37:39

^^ Lape


^^ Pascalscript


These occur in the Simba 1004 build, running under wine 1.6. I have tried it on wine32 and wine64 with same result.

slacky

2014-09-28 09:40:22

GetSystemTime spits out an UInt32, while you assign it to an Int32. This can happen on windows as well (when your computer has a long uptime) when you assign the result to a signed integer.

Wizzup?

2014-09-28 09:45:07

From: slacky
GetSystemTime spits out an UInt32, while you assign it to an Int32. This can happen on windows as well (when your computer has a long uptime) when you assign the result to a signed integer.


I guess Windows never manages to get a decent uptime… :rolleyes:

slushpuppy

2014-09-28 09:54:57

From: slacky
GetSystemTime spits out an UInt32, while you assign it to an Int32. This can happen on windows as well (when your computer has a long uptime) when you assign the result to a signed integer.


Thanks, works for la-pe, not for Pascalscript however :(


bonsai

2014-09-28 09:58:36

From: Wizzup?
I guess Windows never manages to get a decent uptime… :rolleyes:


Not often but I whacked into this same thing recently.

slacky

2014-09-28 11:18:15

From: Wizzup?
I guess Windows never manages to get a decent uptime… :rolleyes:

"Ha-Ha". You are hilarious :p

Frement

2014-09-28 11:26:43

From: Wizzup?
I guess Windows never manages to get a decent uptime… :rolleyes:


Up Time 17:21:38:04

EDIT: Also windows server:
Server has been running: 135 days, 0 hours, and 23 minutes