Click here to Skip to main content
14,697,464 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Efficient way to read/write file Pin
charlieg11-Jun-20 12:53
Membercharlieg11-Jun-20 12:53 
GeneralRe: Efficient way to read/write file Pin
Member 798912211-Jun-20 20:39
MemberMember 798912211-Jun-20 20:39 
GeneralRe: Efficient way to read/write file Pin
charlieg12-Jun-20 9:30
Membercharlieg12-Jun-20 9:30 
QuestionDoes WaitForSingleObject timeout after 49 days if INFINITE is passed? Pin
PrafullaVedante7-Jun-20 10:02
MemberPrafullaVedante7-Jun-20 10:02 
AnswerRe: Does WaitForSingleObject timeout after 49 days if INFINITE is passed? Pin
Greg Utas7-Jun-20 12:00
professionalGreg Utas7-Jun-20 12:00 
AnswerRe: Does WaitForSingleObject timeout after 49 days if INFINITE is passed? Pin
RedDk7-Jun-20 13:17
MemberRedDk7-Jun-20 13:17 
AnswerRe: Does WaitForSingleObject timeout after 49 days if INFINITE is passed? Pin
CPallini7-Jun-20 21:40
mveCPallini7-Jun-20 21:40 
GeneralRe: Does WaitForSingleObject timeout after 49 days if INFINITE is passed? Pin
PrafullaVedante8-Jun-20 1:09
MemberPrafullaVedante8-Jun-20 1:09 
You are right 8 Fs are there as it is a 32 bit value.

Quote:
So it just depends on how much you trust the documentation.
Quote Selected Text

Yes, As the api source is not open source, Is there any minor possibility of having it blocked for 49 days..... Probably we can check it by debugging the api in assembly code.

I am just doubting if microsoft has passed the timeout value to the internal generic logic considering the user will never keep itself block for 49 days .... Roll eyes | :rolleyes: Laugh | :laugh:
Prafulla Vedante

GeneralRe: Does WaitForSingleObject timeout after 49 days if INFINITE is passed? Pin
CPallini8-Jun-20 2:21
mveCPallini8-Jun-20 2:21 
GeneralRe: Does WaitForSingleObject timeout after 49 days if INFINITE is passed? Pin
Joe Woodbury8-Jun-20 16:04
professionalJoe Woodbury8-Jun-20 16:04 
QuestionTranspose of a matrix Pin
Member 148492464-Jun-20 8:08
MemberMember 148492464-Jun-20 8:08 
AnswerRe: Transpose of a matrix Pin
Member 79891224-Jun-20 8:58
MemberMember 79891224-Jun-20 8:58 
AnswerRe: Transpose of a matrix Pin
CPallini4-Jun-20 21:25
mveCPallini4-Jun-20 21:25 
GeneralRe: Transpose of a matrix Pin
Member 148492465-Jun-20 0:52
MemberMember 148492465-Jun-20 0:52 
GeneralRe: Transpose of a matrix Pin
CPallini5-Jun-20 1:04
mveCPallini5-Jun-20 1:04 
GeneralRe: Transpose of a matrix Pin
jeron15-Jun-20 5:53
Memberjeron15-Jun-20 5:53 
QuestionHow to draw a realtime XY plot in MFC Pin
manoharbalu1-Jun-20 23:31
Membermanoharbalu1-Jun-20 23:31 
AnswerRe: How to draw a realtime XY plot in MFC Pin
Victor Nijegorodov1-Jun-20 23:40
MemberVictor Nijegorodov1-Jun-20 23:40 
GeneralRe: How to draw a realtime XY plot in MFC Pin
Richard MacCutchan2-Jun-20 1:15
mveRichard MacCutchan2-Jun-20 1:15 
GeneralRe: How to draw a realtime XY plot in MFC Pin
Victor Nijegorodov2-Jun-20 1:24
MemberVictor Nijegorodov2-Jun-20 1:24 
AnswerRe: How to draw a realtime XY plot in MFC Pin
CPallini5-Jun-20 1:33
mveCPallini5-Jun-20 1:33 
AnswerRe: How to draw a realtime XY plot in MFC Pin
charlieg7-Jun-20 8:29
Membercharlieg7-Jun-20 8:29 
QuestionRandom numbers Pin
CalinNegru(fearless_)1-Jun-20 22:03
MemberCalinNegru(fearless_)1-Jun-20 22:03 
AnswerRe: Random numbers Pin
_Flaviu1-Jun-20 22:26
Member_Flaviu1-Jun-20 22:26 
GeneralRe: Random numbers Pin
CalinNegru(fearless_)2-Jun-20 6:34
MemberCalinNegru(fearless_)2-Jun-20 6:34 

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.