Click here to Skip to main content
16,008,954 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Monitor thread status Pin
Saurabh.Garg30-Jun-08 21:45
Saurabh.Garg30-Jun-08 21:45 
GeneralRe: Monitor thread status Pin
George_George30-Jun-08 21:50
George_George30-Jun-08 21:50 
GeneralRe: Monitor thread status Pin
Hamid_RT1-Jul-08 20:37
Hamid_RT1-Jul-08 20:37 
GeneralRe: Monitor thread status Pin
George_George2-Jul-08 1:38
George_George2-Jul-08 1:38 
Questionstupid VC++ with timestamp Pin
tataxin30-Jun-08 16:27
tataxin30-Jun-08 16:27 
QuestionRe: stupid VC++ with timestamp Pin
David Crow30-Jun-08 17:20
David Crow30-Jun-08 17:20 
QuestionRe: stupid VC++ with timestamp [modified] Pin
tataxin30-Jun-08 19:07
tataxin30-Jun-08 19:07 
AnswerRe: stupid VC++ with timestamp Pin
David Crow1-Jul-08 3:33
David Crow1-Jul-08 3:33 
tataxin wrote:
Do you have a simplier solution for this?


Not by much. What about:

__int64 CMyDlg::getTimestamp( void )
{
    SYSTEMTIME stDate;
    m_date.GetTime(&stDate);
 
    SYSTEMTIME stTime;
    m_time.GetTime(&stTime);
 
    stDate.wHour   = stTime.wHour;
    stDate.wMinute = stTime.wMinute;
    stDate.wSecond = stTime.wSecond;
 
    FILETIME ft;
    SystemTimeToFileTime(&stDate, &ft);
 
    __int64 *nTime = (__int64 *) &ft;
 
    return *nTime;
}


"Love people and use things, not love things and use people." - Unknown

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: stupid VC++ with timestamp Pin
tataxin1-Jul-08 16:37
tataxin1-Jul-08 16:37 
RantRe: stupid VC++ with timestamp Pin
Alan Balkany1-Jul-08 4:54
Alan Balkany1-Jul-08 4:54 
GeneralRe: stupid VC++ with timestamp Pin
tataxin1-Jul-08 16:40
tataxin1-Jul-08 16:40 
AnswerRe: stupid VC++ with timestamp Pin
kcynic30-Jun-08 17:27
kcynic30-Jun-08 17:27 
QuestionRe: stupid VC++ with timestamp Pin
tataxin30-Jun-08 18:53
tataxin30-Jun-08 18:53 
AnswerRe: stupid VC++ with timestamp Pin
kcynic30-Jun-08 19:27
kcynic30-Jun-08 19:27 
GeneralRe: stupid VC++ with timestamp Pin
tataxin30-Jun-08 19:45
tataxin30-Jun-08 19:45 
GeneralRe: stupid VC++ with timestamp [modified] Pin
kcynic1-Jul-08 17:05
kcynic1-Jul-08 17:05 
QuestionSDI Application with a Tabview Pin
godspeed12330-Jun-08 13:52
godspeed12330-Jun-08 13:52 
AnswerRe: SDI Application with a Tabview Pin
theCPkid30-Jun-08 19:08
theCPkid30-Jun-08 19:08 
Questionapplication settings window in xp/vista Pin
garyofcourse30-Jun-08 10:10
garyofcourse30-Jun-08 10:10 
AnswerRe: application settings window in xp/vista Pin
_AnsHUMAN_ 30-Jun-08 19:09
_AnsHUMAN_ 30-Jun-08 19:09 
QuestionDisplaying 3D interface on multiple platforms Pin
Dustin Henry30-Jun-08 8:17
Dustin Henry30-Jun-08 8:17 
AnswerRe: Displaying 3D interface on multiple platforms Pin
Nemanja Trifunovic30-Jun-08 9:36
Nemanja Trifunovic30-Jun-08 9:36 
GeneralRe: Displaying 3D interface on multiple platforms Pin
Dustin Henry30-Jun-08 10:11
Dustin Henry30-Jun-08 10:11 
GeneralRe: Displaying 3D interface on multiple platforms Pin
Nemanja Trifunovic30-Jun-08 10:50
Nemanja Trifunovic30-Jun-08 10:50 
GeneralRe: Displaying 3D interface on multiple platforms Pin
Dustin Henry30-Jun-08 11:50
Dustin Henry30-Jun-08 11:50 

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.