Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiongmtime() crash Pin
SteveRubio19-Jan-07 5:14
SteveRubio19-Jan-07 5:14 
AnswerRe: gmtime() crash Pin
David Crow19-Jan-07 5:49
David Crow19-Jan-07 5:49 
GeneralRe: gmtime() crash Pin
SteveRubio19-Jan-07 6:32
SteveRubio19-Jan-07 6:32 
QuestionRe: gmtime() crash Pin
David Crow19-Jan-07 6:55
David Crow19-Jan-07 6:55 
AnswerRe: gmtime() crash Pin
SteveRubio19-Jan-07 7:12
SteveRubio19-Jan-07 7:12 
QuestionRe: gmtime() crash Pin
David Crow19-Jan-07 7:38
David Crow19-Jan-07 7:38 
AnswerRe: gmtime() crash Pin
SteveRubio19-Jan-07 8:04
SteveRubio19-Jan-07 8:04 
GeneralRe: gmtime() crash Pin
David Crow19-Jan-07 8:14
David Crow19-Jan-07 8:14 
SteveRubio wrote:
...using _gmtime64() instead of gmtime() doesn't cause the error.


I would be more inclined to do something like:

char s[32];
strcpy(s, yetanotherfunction());
Because _gmtime64() still shares a common, static structure.




"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


GeneralRe: gmtime() crash Pin
SteveRubio19-Jan-07 9:14
SteveRubio19-Jan-07 9:14 
GeneralRe: gmtime() crash Pin
David Crow19-Jan-07 9:24
David Crow19-Jan-07 9:24 
GeneralRe: gmtime() crash Pin
SteveRubio19-Jan-07 9:37
SteveRubio19-Jan-07 9:37 
QuestionSerializing an object Pin
Alex Cutovoi19-Jan-07 5:01
Alex Cutovoi19-Jan-07 5:01 
QuestionRe: Serializing an object Pin
David Crow19-Jan-07 5:08
David Crow19-Jan-07 5:08 
AnswerRe: Serializing an object Pin
Alex Cutovoi19-Jan-07 5:53
Alex Cutovoi19-Jan-07 5:53 
GeneralRe: Serializing an object Pin
David Crow19-Jan-07 6:03
David Crow19-Jan-07 6:03 
GeneralRe: Serializing an object Pin
Alex Cutovoi23-Jan-07 1:34
Alex Cutovoi23-Jan-07 1:34 
QuestionHow can i solve the mapping mode problem? Pin
Murugan k19-Jan-07 3:25
Murugan k19-Jan-07 3:25 
QuestionWindows Message Handling Pin
Chibi Maruko S19-Jan-07 3:18
Chibi Maruko S19-Jan-07 3:18 
AnswerRe: Windows Message Handling Pin
Roger Stoltz19-Jan-07 3:23
Roger Stoltz19-Jan-07 3:23 
GeneralRe: Windows Message Handling Pin
Chibi Maruko S19-Jan-07 5:00
Chibi Maruko S19-Jan-07 5:00 
GeneralRe: Windows Message Handling Pin
Mark Salsbery19-Jan-07 5:35
Mark Salsbery19-Jan-07 5:35 
QuestionCRecordset Pin
Bravoone_200619-Jan-07 2:25
Bravoone_200619-Jan-07 2:25 
AnswerRe: CRecordset Pin
David Crow19-Jan-07 2:32
David Crow19-Jan-07 2:32 
AnswerRe: CRecordset Pin
hairy_hats19-Jan-07 2:43
hairy_hats19-Jan-07 2:43 
QuestionCAnimateCtrl Pin
Bravoone_200619-Jan-07 2:03
Bravoone_200619-Jan-07 2:03 

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.