I try to add/substract a number of days(or hours ,minutes
,seconds) to a SYSTEMTIME time. How do you d that using the Win32 API?
I am using Digital Visual Fortran and don´t have access to 64
bit integers. What can I do ?
I know that VB has built-in functions to do that. VC has a
TIME class to manipulate time. It seems that Win32 api doesn´t do time
manipulation.
Thank you.
Stéphane Paquin
stephan...@ispatnet.comz
Stephane Paquin <stephan...@ispatnet.com> wrote in message
news:3784a5d5...@news.interlink.net...
FileTimeToSystemTime only transforms a time value from FILETIME to
SYSTEMTIME structure. I still have not added or substracted days (or
hours ,minutes, seconds...).
Even if I transform to FILETIME, how can I manipulate the time
to add or substract ? Remember I don´t have access to quadwords in
DVF. It seems to me there is a big hole in Win32 api.
Stéphane Paquin
stephan...@ispatnet.comz
> I am using Digital Visual Fortran and don´t have access to 64
> bit integers. What can I do ?
(a) write a DLL in some other language
(b) regard the 64bit int as two 32bit unsigned ints:
total = hiword*2**32 + loword
--
Cheers,
Felix.
If you post a reply, kindly refrain from emailing it, too.
Note to spammers: fel...@mvps.org is my real email address.
No anti-spam address here. Just one comment: IN YOUR FACE!