Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating Frame WIndows Pin
Nibu babu thomas28-May-07 1:17
Nibu babu thomas28-May-07 1:17 
GeneralRe: Creating Frame WIndows Pin
prithaa28-May-07 2:01
prithaa28-May-07 2:01 
GeneralRe: Creating Frame WIndows Pin
Nibu babu thomas28-May-07 3:15
Nibu babu thomas28-May-07 3:15 
GeneralRe: Creating Frame WIndows Pin
prithaa28-May-07 3:48
prithaa28-May-07 3:48 
QuestionFile I/O Pin
nitin327-May-07 23:57
nitin327-May-07 23:57 
QuestionRe: File I/O Pin
Hamid_RT28-May-07 1:14
Hamid_RT28-May-07 1:14 
AnswerRe: File I/O Pin
Stephen Hewitt28-May-07 17:11
Stephen Hewitt28-May-07 17:11 
QuestionC++ Date formats Pin
Stevo Z27-May-07 23:07
Stevo Z27-May-07 23:07 
Hi,

I'm working under VS 6 C++ and need to parse date from YYYY-MM-DD HH:MM:SS to any of SYSTEMTIME or tm structures. I'm struggling to use CTime, because it requires to run under MFC(does it? Smile | :) ) and I'm creating a COM object. Or is there a way to use CTime while creating COM ?

PS : I'm not having problems with parsing "YYYY-MM-DD HH:MM-SS" formated string into Int values and filling them into e.c. SYSTEMTIME structure, but I don't know how to compare two dates created that way. When I try to create FILETIME from SYSTEMTIME (to be able to compere them) using SystemTimeToFileTime(...) method, it doesn't work corretly. I suppose it's beacuse of the source SYSTEMTIME doesn't have all fields set (Day of Week and MILISECONDS - which are for me irrelevant, I can set miliseconds to zero but I don't know how to determine day of week)

thanx for any ideas

AnswerRe: C++ Date formats Pin
Johpoke27-May-07 23:17
Johpoke27-May-07 23:17 
AnswerRe: C++ Date formats Pin
Lane Yu27-May-07 23:53
Lane Yu27-May-07 23:53 
AnswerRe: C++ Date formats Pin
Nibu babu thomas27-May-07 23:53
Nibu babu thomas27-May-07 23:53 
AnswerRe: C++ Date formats Pin
Stevo Z27-May-07 23:56
Stevo Z27-May-07 23:56 
AnswerRe: C++ Date formats Pin
Niklas L28-May-07 0:36
Niklas L28-May-07 0:36 
QuestionDisable the Enter button Pin
garfield18527-May-07 23:00
garfield18527-May-07 23:00 
AnswerRe: Disable the Enter button Pin
Johpoke27-May-07 23:19
Johpoke27-May-07 23:19 
AnswerRe: Disable the Enter button Pin
Anurag Gandhi27-May-07 23:19
professionalAnurag Gandhi27-May-07 23:19 
AnswerRe: Disable the Enter button Pin
Anurag Gandhi27-May-07 23:32
professionalAnurag Gandhi27-May-07 23:32 
GeneralRe: Disable the Enter button Pin
garfield18527-May-07 23:26
garfield18527-May-07 23:26 
GeneralRe: Disable the Enter button Pin
garfield18527-May-07 23:50
garfield18527-May-07 23:50 
GeneralRe: Disable the Enter button Pin
Anurag Gandhi27-May-07 23:37
professionalAnurag Gandhi27-May-07 23:37 
GeneralRe: Disable the Enter button Pin
ginjikun27-May-07 23:59
ginjikun27-May-07 23:59 
GeneralRe: Disable the Enter button Pin
Anurag Gandhi28-May-07 0:07
professionalAnurag Gandhi28-May-07 0:07 
GeneralRe: Disable the Enter button Pin
garfield18528-May-07 0:12
garfield18528-May-07 0:12 
GeneralRe: Disable the Enter button Pin
Rajesh R Subramanian28-May-07 0:17
professionalRajesh R Subramanian28-May-07 0:17 
GeneralRe: Disable the Enter button Pin
Anurag Gandhi28-May-07 0:01
professionalAnurag Gandhi28-May-07 0:01 

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.