You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
External function declared in ceflib "TzSpecificLocalTimeToSystemTime" is not
supported by Windows 2000, so therefor "EOSError" will appear after running
application exe.
Workaround is to comment external function declaration and use own function
like this one:
function DateTimeToCefTime(dt: TDateTime): TCefTime;
var st1, st2: TSystemTime;
tz: TTimeZoneInformation;
begin
GetTimeZoneInformation(tz);
tz.Bias := -tz.Bias;
tz.StandardBias := -tz.StandardBias;
tz.DaylightBias := -tz.DaylightBias;
DateTimeToSystemTime(dt, st1);
SystemTimeToTzSpecificLocalTime(@tz, @st1, @st2);
Result := SystemTimeToCefTime(st2);
end;
Original issue reported on code.google.com by [email protected] on 21 Sep 2011 at 9:08
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 21 Sep 2011 at 9:08The text was updated successfully, but these errors were encountered: