Click here to Skip to main content
15,885,366 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Choosing an IPC mechanism Pin
Rajesh R Subramanian5-May-09 4:08
professionalRajesh R Subramanian5-May-09 4:08 
AnswerRe: Choosing an IPC mechanism Pin
Randor 5-May-09 6:54
professional Randor 5-May-09 6:54 
GeneralRe: Choosing an IPC mechanism Pin
Rajesh R Subramanian6-May-09 1:34
professionalRajesh R Subramanian6-May-09 1:34 
QuestionDLL performance during the day? Pin
Chesnokov Yuriy5-May-09 0:40
professionalChesnokov Yuriy5-May-09 0:40 
AnswerRe: DLL performance during the day? Pin
CPallini5-May-09 1:45
mveCPallini5-May-09 1:45 
JokeRe: DLL performance during the day? Pin
Rajesh R Subramanian5-May-09 1:54
professionalRajesh R Subramanian5-May-09 1:54 
GeneralRe: DLL performance during the day? Pin
CPallini5-May-09 2:27
mveCPallini5-May-09 2:27 
AnswerRe: DLL performance during the day? Pin
Randor 5-May-09 5:36
professional Randor 5-May-09 5:36 
Chesnokov Yuriy wrote:
Has anyone encountered such abnormalities.


No, but this is actually possible. Multimedia timer functions such as timeBeginPeriod[^] will effect the entire operating system. There are *many* applications in the wild which call this function and the authors probably thought it would only have an effect on their application. It effects calls to both timeGetTime and QueryPerformanceCounter because the kernel scheduler itself has been modified.

Call timeBeginPeriod(1) at the beginning of your math function and timeEndPeriod when you are finished.

Best Wishes,
-David Delaune
QuestionCleint Server - Connection refused. Pin
ganesh.dp4-May-09 23:27
ganesh.dp4-May-09 23:27 
QuestionMFC Pin
p_19604-May-09 23:17
p_19604-May-09 23:17 
AnswerRe: MFC Pin
Rajesh R Subramanian4-May-09 23:20
professionalRajesh R Subramanian4-May-09 23:20 
GeneralRe: MFC Pin
p_19604-May-09 23:32
p_19604-May-09 23:32 
GeneralRe: MFC Pin
Rajesh R Subramanian4-May-09 23:36
professionalRajesh R Subramanian4-May-09 23:36 
AnswerRe: MFC Pin
Chandrasekharan P4-May-09 23:23
Chandrasekharan P4-May-09 23:23 
GeneralBad answer! Pin
Rajesh R Subramanian4-May-09 23:26
professionalRajesh R Subramanian4-May-09 23:26 
GeneralRe: Bad answer! Pin
Chandrasekharan P4-May-09 23:29
Chandrasekharan P4-May-09 23:29 
GeneralRe: Bad answer! Pin
Cedric Moonen4-May-09 23:31
Cedric Moonen4-May-09 23:31 
GeneralRe: Bad answer! Pin
CPallini4-May-09 23:35
mveCPallini4-May-09 23:35 
GeneralRe: Bad answer! Pin
Rajesh R Subramanian4-May-09 23:35
professionalRajesh R Subramanian4-May-09 23:35 
GeneralRe: Bad answer! Pin
Chandrasekharan P4-May-09 23:38
Chandrasekharan P4-May-09 23:38 
AnswerRe: MFC Pin
_AnsHUMAN_ 5-May-09 0:00
_AnsHUMAN_ 5-May-09 0:00 
GeneralRe: MFC Pin
Rajesh R Subramanian5-May-09 0:32
professionalRajesh R Subramanian5-May-09 0:32 
GeneralRe: MFC Pin
_AnsHUMAN_ 5-May-09 1:15
_AnsHUMAN_ 5-May-09 1:15 
GeneralRe: MFC Pin
Rajesh R Subramanian5-May-09 1:32
professionalRajesh R Subramanian5-May-09 1:32 
GeneralRe: MFC Pin
_AnsHUMAN_ 5-May-09 1:32
_AnsHUMAN_ 5-May-09 1:32 

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.