From: sanjeev055 on
hi techies,,

i am using Getsystemtime to get the time in vc++,
now i want to add some duration say(20mns ), to that time , and store
it in other SYSTEMTIME variable,for this i m converting it to FILETIME
and thn to LARGE_INTEGER,
but i getting some negative values after adding, plz help me in
this...


thanks...
From: David Lowndes on
>i am using Getsystemtime to get the time in vc++,
>now i want to add some duration say(20mns ), to that time , and store
>it in other SYSTEMTIME variable,for this i m converting it to FILETIME
>and thn to LARGE_INTEGER,
>but i getting some negative values after adding, plz help me in
>this...

Show your code and perhaps someone will be able to spot your problem.

Dave
From: AliR (VC++ MVP) on
See if this will help:
http://dn.codegear.com/article/26051

AliR.


"sanjeev055" <sanjeev055(a)gmail.com> wrote in message
news:e1a74e57-c003-4935-b2a2-e404203443d4(a)x19g2000prg.googlegroups.com...
> hi techies,,
>
> i am using Getsystemtime to get the time in vc++,
> now i want to add some duration say(20mns ), to that time , and store
> it in other SYSTEMTIME variable,for this i m converting it to FILETIME
> and thn to LARGE_INTEGER,
> but i getting some negative values after adding, plz help me in
> this...
>
>
> thanks...