Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalactivex container test with my project Pin
shinay26-Jul-03 22:58
shinay26-Jul-03 22:58 
Questionrebuild all? Pin
novachen26-Jul-03 22:48
novachen26-Jul-03 22:48 
AnswerRe: rebuild all? Pin
novachen26-Jul-03 22:52
novachen26-Jul-03 22:52 
AnswerRe: rebuild all? Pin
Beer2627-Jul-03 5:03
Beer2627-Jul-03 5:03 
GeneralSYSTEMTIME question Pin
YaronNir26-Jul-03 22:27
YaronNir26-Jul-03 22:27 
GeneralRe: SYSTEMTIME question Pin
Michael Dunn26-Jul-03 22:35
sitebuilderMichael Dunn26-Jul-03 22:35 
GeneralRe: SYSTEMTIME question Pin
YaronNir27-Jul-03 4:41
YaronNir27-Jul-03 4:41 
GeneralRe: SYSTEMTIME question Pin
YaronNir27-Jul-03 4:45
YaronNir27-Jul-03 4:45 
wooooppppssss

sorry what i ment to say is to add the 1400 to the higher value of the FILETIME as follows:
SYSTEMTIME st;
FILETIME ft;
GetLocalTime(&st);
SystemTimeToFileTime(&st,&ft);
ft.dwHighDateTime += 1400;// adding the 7 days

i think your way was to work on the ULARGE_INT i.e __int64 i.e:
__in64 uli;
memcpy(&uli,&ft,sizeof(uli));
uli += 10000000x60x60x24x7;

and then convert it again to FILETIME with memcpy:
memcpy(&ft,&uli,sizeof(ft));

am i correct?



Ask not what your application can do for you,
Ask what you can do for your application
GeneralRe: SYSTEMTIME question Pin
Michael Dunn27-Jul-03 11:27
sitebuilderMichael Dunn27-Jul-03 11:27 
GeneralATL in vs.net Pin
novachen26-Jul-03 21:29
novachen26-Jul-03 21:29 
GeneralRe: ATL in vs.net Pin
Michael Dunn26-Jul-03 22:37
sitebuilderMichael Dunn26-Jul-03 22:37 
GeneralCalculate the required size of text to fit in column Pin
drabudawood26-Jul-03 20:39
drabudawood26-Jul-03 20:39 
GeneralRe: Calculate the required size of text to fit in column Pin
Michael Dunn26-Jul-03 22:42
sitebuilderMichael Dunn26-Jul-03 22:42 
GeneralRe: Calculate the required size of text to fit in column Pin
drabudawood27-Jul-03 1:32
drabudawood27-Jul-03 1:32 
GeneralRe: Calculate the required size of text to fit in column Pin
drabudawood27-Jul-03 1:44
drabudawood27-Jul-03 1:44 
GeneralRe: Calculate the required size of text to fit in column Pin
Michael Dunn27-Jul-03 2:14
sitebuilderMichael Dunn27-Jul-03 2:14 
GeneralProblem with outp() in vc6.0 Pin
funwey26-Jul-03 19:44
funwey26-Jul-03 19:44 
GeneralRe: Problem with outp() in vc6.0 Pin
phlipping26-Jul-03 20:15
phlipping26-Jul-03 20:15 
GeneralRe: Problem with outp() in vc6.0 Pin
Erik Funkenbusch26-Jul-03 20:46
Erik Funkenbusch26-Jul-03 20:46 
GeneralExtended chars with SendInput Pin
phlipping26-Jul-03 19:01
phlipping26-Jul-03 19:01 
QuestionHow reliable is "cin" for receiving data? Pin
WREY26-Jul-03 17:56
WREY26-Jul-03 17:56 
AnswerRe: How reliable is "cin" for receiving data? Pin
Beer2626-Jul-03 18:12
Beer2626-Jul-03 18:12 
GeneralRe: How reliable is "cin" for receiving data? Pin
WREY26-Jul-03 18:48
WREY26-Jul-03 18:48 
GeneralRe: How reliable is "cin" for receiving data? Pin
Ryan Binns26-Jul-03 20:26
Ryan Binns26-Jul-03 20:26 
GeneralRe: How reliable is "cin" for receiving data? Pin
Beer2627-Jul-03 2:48
Beer2627-Jul-03 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.