Click here to Skip to main content
16,017,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to get running process list of Windows XP Pin
vijay.victory10-Nov-08 20:11
vijay.victory10-Nov-08 20:11 
GeneralRe: how to get running process list of Windows XP Pin
SandipG 10-Nov-08 20:28
SandipG 10-Nov-08 20:28 
QuestionHelp With A Password Verifier Pin
LilKoopa10-Nov-08 17:33
LilKoopa10-Nov-08 17:33 
AnswerRe: Help With A Password Verifier Pin
_AnsHUMAN_ 10-Nov-08 18:06
_AnsHUMAN_ 10-Nov-08 18:06 
AnswerRe: Help With A Password Verifier [modified] Pin
enhzflep10-Nov-08 18:17
enhzflep10-Nov-08 18:17 
QuestionHow to build CSP in Vista Pin
izyani10-Nov-08 15:42
izyani10-Nov-08 15:42 
QuestionConvert total seconds to date time format Pin
Arif Liminto10-Nov-08 14:32
professionalArif Liminto10-Nov-08 14:32 
AnswerRe: Convert total seconds to date time format Pin
Randor 10-Nov-08 18:35
professional Randor 10-Nov-08 18:35 
arifliminto86 wrote:
but how to convert in the reverse way


I am not sure that I understand your question but I believe that you are asking how to convert a 64 bit integer containing CTime total seconds back into a CTime object. If this is what your looking for then perhaps the following code will help.

CTime tNow = CTime::GetCurrentTime();
OutputDebugString(tNow.Format(_T("Current Time: %A, %B %d, %Y\n")));
LONGLONG i64TotalSeconds = tNow.GetTime(); //seconds since January 1, 1970
CTime tBack(i64TotalSeconds);
OutputDebugString(tBack.Format(_T("Converted Time: %A, %B %d, %Y\n")));


Best Wishes,
-David Delaune
AnswerRe: Convert total seconds to date time format Pin
_AnsHUMAN_ 10-Nov-08 18:36
_AnsHUMAN_ 10-Nov-08 18:36 
GeneralRe: Convert total seconds to date time format Pin
Arif Liminto10-Nov-08 18:53
professionalArif Liminto10-Nov-08 18:53 
QuestionDrawing a windows without system frame Pin
Nacho Chip10-Nov-08 12:54
Nacho Chip10-Nov-08 12:54 
AnswerRe: Drawing a windows without system frame Pin
enhzflep10-Nov-08 14:28
enhzflep10-Nov-08 14:28 
Questionneed help Pin
faradgi10-Nov-08 9:56
faradgi10-Nov-08 9:56 
AnswerRe: need help Pin
Perspx10-Nov-08 10:27
Perspx10-Nov-08 10:27 
AnswerSTOP SPAMMING ALL THE FORUMS Pin
leckey10-Nov-08 11:07
leckey10-Nov-08 11:07 
GeneralRe: STOP SPAMMING ALL THE FORUMS Pin
Paul Conrad10-Nov-08 14:57
professionalPaul Conrad10-Nov-08 14:57 
GeneralRe: STOP SPAMMING ALL THE FORUMS Pin
leckey10-Nov-08 15:02
leckey10-Nov-08 15:02 
QuestionHow to show a value in an Edit Textbox Pin
J_E_D_I10-Nov-08 8:37
J_E_D_I10-Nov-08 8:37 
AnswerRe: How to show a value in an Edit Textbox Pin
David Crow10-Nov-08 9:16
David Crow10-Nov-08 9:16 
GeneralRe: How to show a value in an Edit Textbox Pin
J_E_D_I10-Nov-08 9:51
J_E_D_I10-Nov-08 9:51 
AnswerRe: How to show a value in an Edit Textbox Pin
CPallini10-Nov-08 9:27
mveCPallini10-Nov-08 9:27 
Questionpragma comment for resource files Pin
Jim Crafton10-Nov-08 5:44
Jim Crafton10-Nov-08 5:44 
AnswerRe: pragma comment for resource files Pin
cmk10-Nov-08 8:07
cmk10-Nov-08 8:07 
GeneralRe: pragma comment for resource files Pin
Jim Crafton10-Nov-08 8:15
Jim Crafton10-Nov-08 8:15 
GeneralRe: pragma comment for resource files Pin
cmk10-Nov-08 11:05
cmk10-Nov-08 11:05 

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.