TimGetSeconds is documented as ULong TimGetSeconds(void).  When I use:

TimSecondsToDateTime(TimGetSeconds(), date);

it clearly passes the ULong into the date structure with a correct value.

However,

ULong seconds;

seconds=TimGetSeconds();

Which I think should return into seconds some large number representing the
number of seconds between 1/1/1904 and now, returns 2 instead.

Further, TimSetSeconds(seconds) returns seconds=0.

What is going on?

----------------------
Michael Hutchens
[EMAIL PROTECTED]
[EMAIL PROTECTED]


Reply via email to