Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: iterators & vectors & moral Pin
Christian Graus5-Jul-02 4:33
protectorChristian Graus5-Jul-02 4:33 
GeneralRe: iterators & vectors & moral Pin
Joaquín M López Muñoz5-Jul-02 5:42
Joaquín M López Muñoz5-Jul-02 5:42 
GeneralRe: iterators & vectors & moral Pin
Joaquín M López Muñoz5-Jul-02 4:34
Joaquín M López Muñoz5-Jul-02 4:34 
GeneralWriting permission bits to Access Database Pin
Hel4-Jul-02 22:25
Hel4-Jul-02 22:25 
GeneralPC Losing Time Pin
LittleYellowBird4-Jul-02 21:30
LittleYellowBird4-Jul-02 21:30 
GeneralRe: PC Losing Time Pin
Olli5-Jul-02 2:02
Olli5-Jul-02 2:02 
GeneralRe: PC Losing Time Pin
LittleYellowBird5-Jul-02 2:20
LittleYellowBird5-Jul-02 2:20 
GeneralRe: PC Losing Time Pin
Olli5-Jul-02 2:44
Olli5-Jul-02 2:44 
How do you 'use' the Time ??????

I use my objects mostly local, like this way:

void SomeFunc()
{
....
CTime theTime = CTime::GetCurrentTime();
....
}

In other cases, e.g. to compare time, i remind the old time in a global object...

BTW: If I want to place a clock in my statusbar, i call the OnTimer() each 0.1 secs, then i compare the CTime::GetCurrentTime() to my oldTime and if it changed, the i start updateting my clock...

Maybe you can show us how in detail you do it, then maybe i can help you..

Alison Pentland wrote:
I've run it again this morning and its lost 22 seconds in 2 hours.


22 secs in s hrs is a lot,... sounds very very strange...Unsure | :~


Olli
cause sometimes the world is as strange as me....
Roll eyes | :rolleyes:

GeneralRe: PC Losing Time Pin
LittleYellowBird5-Jul-02 3:16
LittleYellowBird5-Jul-02 3:16 
GeneralRe: PC Losing Time Pin
Rutger Ellen5-Jul-02 3:34
Rutger Ellen5-Jul-02 3:34 
GeneralRe: PC Losing Time Pin
Venet5-Jul-02 4:17
Venet5-Jul-02 4:17 
GeneralRe: PC Losing Time Pin
Roger Wright5-Jul-02 4:38
professionalRoger Wright5-Jul-02 4:38 
QuestionCannot compile .h file? Pin
ivex4-Jul-02 20:56
ivex4-Jul-02 20:56 
AnswerRe: Cannot compile .h file? Pin
Christian Graus4-Jul-02 22:16
protectorChristian Graus4-Jul-02 22:16 
AnswerRe: Cannot compile .h file? Pin
Alexandru Savescu5-Jul-02 2:14
Alexandru Savescu5-Jul-02 2:14 
GeneralRegistering OCXs Pin
Jerome Conus4-Jul-02 20:16
Jerome Conus4-Jul-02 20:16 
GeneralTransparent MFC windows with MSVS 6.0 Pin
4-Jul-02 19:20
suss4-Jul-02 19:20 
GeneralRe: Transparent MFC windows with MSVS 6.0 Pin
Christian Graus4-Jul-02 19:57
protectorChristian Graus4-Jul-02 19:57 
GeneralRe: Transparent MFC windows with MSVS 6.0 Pin
5-Jul-02 10:19
suss5-Jul-02 10:19 
GeneralRe: Transparent MFC windows with MSVS 6.0 Pin
Christian Graus5-Jul-02 17:39
protectorChristian Graus5-Jul-02 17:39 
GeneralConversion Pin
4-Jul-02 19:18
suss4-Jul-02 19:18 
GeneralRe: Conversion Pin
Christian Graus4-Jul-02 19:59
protectorChristian Graus4-Jul-02 19:59 
GeneralRe: Conversion Pin
4-Jul-02 23:02
suss4-Jul-02 23:02 
QuestionIs there any way to send/receive fax by using TAPI? Pin
blongtq4-Jul-02 19:07
blongtq4-Jul-02 19:07 
AnswerRe: Is there any way to send/receive fax by using TAPI? Pin
Michael P Butler5-Jul-02 1:45
Michael P Butler5-Jul-02 1:45 

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.