Click here to Skip to main content
15,887,430 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Function implementation in header file creates linker warnings Pin
Garth J Lancaster12-Jan-06 11:24
professionalGarth J Lancaster12-Jan-06 11:24 
GeneralRe: Function implementation in header file creates linker warnings Pin
Prakash Nadar12-Jan-06 17:39
Prakash Nadar12-Jan-06 17:39 
GeneralRe: Function implementation in header file creates linker warnings Pin
Garth J Lancaster12-Jan-06 17:43
professionalGarth J Lancaster12-Jan-06 17:43 
AnswerRe: Function implementation in header file creates linker warnings Pin
Alexander M.,13-Jan-06 6:20
Alexander M.,13-Jan-06 6:20 
QuestionUTC and local time management Pin
jjmv12-Jan-06 6:00
jjmv12-Jan-06 6:00 
AnswerRe: UTC and local time management Pin
Phil C12-Jan-06 13:06
Phil C12-Jan-06 13:06 
GeneralRe: UTC and local time management Pin
jjmv13-Jan-06 7:12
jjmv13-Jan-06 7:12 
GeneralRe: UTC and local time management Pin
Phil C13-Jan-06 12:28
Phil C13-Jan-06 12:28 
Well, like I said before, it's been a while since I've used time structures and objects, but I have used them extensively in the past.

If you Do just a little playing around and debugging the SYSTEMTIME variable (it's easiest because all the members are .hour, .min, .sec and you can watch the values directly) I'm fairly sure will reveal that it always works in UTC timezone. The companion functions Format() etc. all add in timezone offsets.

This means you're thinking a little backwards as to when the timezones come into play, but it depends on which actual Structure or object you are talking about.

Just do a little debugging, it will become clear very quickly.

Oh and do yourself a favor, leave yourself lots of comments so you remember later. I looked through my old source and I forgot that part which is why I can't answer your question directly Wink | ;)
GeneralRe: UTC and local time management Pin
jjmv18-Jan-06 3:53
jjmv18-Jan-06 3:53 
AnswerRe: UTC and local time management Pin
ThatsAlok12-Jan-06 17:50
ThatsAlok12-Jan-06 17:50 
Questionkeyboard buffer Pin
Eytukan12-Jan-06 5:06
Eytukan12-Jan-06 5:06 
AnswerRe: keyboard buffer Pin
Owner drawn12-Jan-06 17:00
Owner drawn12-Jan-06 17:00 
GeneralRe: keyboard buffer Pin
Stephen Hewitt12-Jan-06 20:27
Stephen Hewitt12-Jan-06 20:27 
GeneralRe: keyboard buffer Pin
Owner drawn12-Jan-06 20:28
Owner drawn12-Jan-06 20:28 
GeneralRe: keyboard buffer Pin
Eytukan12-Jan-06 21:50
Eytukan12-Jan-06 21:50 
AnswerRe: keyboard buffer Pin
ThatsAlok12-Jan-06 17:37
ThatsAlok12-Jan-06 17:37 
GeneralRe: keyboard buffer Pin
Eytukan12-Jan-06 21:52
Eytukan12-Jan-06 21:52 
QuestionVC6 -> VC7 code blows up from 2 to 20 MiB Pin
Sebastian Schneider12-Jan-06 4:14
Sebastian Schneider12-Jan-06 4:14 
AnswerRe: VC6 -> VC7 code blows up from 2 to 20 MiB Pin
Nish Nishant12-Jan-06 5:00
sitebuilderNish Nishant12-Jan-06 5:00 
AnswerRe: VC6 -> VC7 code blows up from 2 to 20 MiB Pin
Prakash Nadar12-Jan-06 5:25
Prakash Nadar12-Jan-06 5:25 
AnswerRe: VC6 -> VC7 code blows up from 2 to 20 MiB Pin
Chris Losinger12-Jan-06 5:28
professionalChris Losinger12-Jan-06 5:28 
GeneralRe: VC6 -> VC7 code blows up from 2 to 20 MiB Pin
Maximilien12-Jan-06 5:47
Maximilien12-Jan-06 5:47 
GeneralRe: VC6 -> VC7 code blows up from 2 to 20 MiB Pin
peterchen12-Jan-06 11:20
peterchen12-Jan-06 11:20 
GeneralRe: VC6 -> VC7 code blows up from 2 to 20 MiB Pin
Chris Losinger12-Jan-06 11:33
professionalChris Losinger12-Jan-06 11:33 
GeneralRe: VC6 -> VC7 code blows up from 2 to 20 MiB Pin
Sebastian Schneider12-Jan-06 22:00
Sebastian Schneider12-Jan-06 22:00 

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.