Click here to Skip to main content
16,011,542 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat is the include needed? Pin
Anonymous10-Dec-04 9:43
Anonymous10-Dec-04 9:43 
AnswerRe: What is the include needed? Pin
John M. Drescher10-Dec-04 9:53
John M. Drescher10-Dec-04 9:53 
AnswerRe: What is the include needed? Pin
Andy Hunter10-Dec-04 10:07
Andy Hunter10-Dec-04 10:07 
GeneralRe: What is the include needed? Pin
Anonymous10-Dec-04 10:09
Anonymous10-Dec-04 10:09 
GeneralEvents - How Fast Pin
Grahamfff10-Dec-04 8:47
Grahamfff10-Dec-04 8:47 
GeneralRe: Events - How Fast Pin
John M. Drescher10-Dec-04 10:39
John M. Drescher10-Dec-04 10:39 
GeneralRe: Events - How Fast Pin
Antti Keskinen10-Dec-04 10:39
Antti Keskinen10-Dec-04 10:39 
GeneralRe: Events - How Fast Pin
Mike Dimmick10-Dec-04 12:33
Mike Dimmick10-Dec-04 12:33 
Timer (WM_TIMER) messages have the very lowest priority in Windows. Even paint messages have a higher priority than timer messages. You shouldn't expect reliable behaviour from these timers.

Windows offers two other timer facilities: multimedia timers and waitable timers. For the first see Using Multimedia Timers[^]. For the second see the CreateWaitableTimer[^] function.

Another alternative is to decide whether you really need that resolution. If you're simply trying to update a timer display, measure the actual elapsed time using GetTickCount.

It sounds like you're trying to write a real-time system. Windows 2000 is not a real-time OS - the interrupt latencies are simply not predictable. If this is what you're trying to do, either obtain a real-time kernel which runs Windows as a subtask, or use Windows CE.

Stability. What an interesting concept. -- Chris Maunder
GeneralOnRButtonUp Pin
greba10-Dec-04 8:33
greba10-Dec-04 8:33 
GeneralRe: OnRButtonUp Pin
greba10-Dec-04 9:13
greba10-Dec-04 9:13 
GeneralRe: OnRButtonUp Pin
G. Steudtel10-Dec-04 9:16
G. Steudtel10-Dec-04 9:16 
Generalregular experssion in C++ Pin
pnpfriend10-Dec-04 7:47
pnpfriend10-Dec-04 7:47 
GeneralRe: regular experssion in C++ Pin
John M. Drescher10-Dec-04 8:03
John M. Drescher10-Dec-04 8:03 
GeneralRe: regular experssion in C++ Pin
Jack Puppy10-Dec-04 11:17
Jack Puppy10-Dec-04 11:17 
GeneralRe: regular experssion in C++ Pin
John R. Shaw10-Dec-04 18:44
John R. Shaw10-Dec-04 18:44 
GeneralCDC::BitBlt(...) - strange speed variations Pin
moredip10-Dec-04 7:01
moredip10-Dec-04 7:01 
GeneralRe: CDC::BitBlt(...) - strange speed variations Pin
G. Steudtel10-Dec-04 7:22
G. Steudtel10-Dec-04 7:22 
GeneralRe: CDC::BitBlt(...) - strange speed variations Pin
moredip10-Dec-04 7:31
moredip10-Dec-04 7:31 
GeneralRe: CDC::BitBlt(...) - strange speed variations Pin
G. Steudtel10-Dec-04 7:52
G. Steudtel10-Dec-04 7:52 
GeneralRe: CDC::BitBlt(...) - strange speed variations Pin
moredip10-Dec-04 8:16
moredip10-Dec-04 8:16 
GeneralRe: CDC::BitBlt(...) - strange speed variations Pin
G. Steudtel10-Dec-04 9:10
G. Steudtel10-Dec-04 9:10 
GeneralRe: CDC::BitBlt(...) - strange speed variations Pin
moredip10-Dec-04 9:22
moredip10-Dec-04 9:22 
GeneralRe: CDC::BitBlt(...) - strange speed variations Pin
Jack Puppy10-Dec-04 11:37
Jack Puppy10-Dec-04 11:37 
GeneralRe: CDC::BitBlt(...) - strange speed variations Pin
moredip10-Dec-04 11:46
moredip10-Dec-04 11:46 
GeneralRe: CDC::BitBlt(...) - strange speed variations Pin
Jack Puppy11-Dec-04 13:09
Jack Puppy11-Dec-04 13:09 

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.