|
From: sanjeev055 on 29 May 2008 08:33 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 29 May 2008 08:45 >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 29 May 2008 11:36 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...
|
Pages: 1 Prev: Dialog, Custom Controls and Extension DLLs... Next: Progress Bar changing color doesn't work |