Click here to Skip to main content
15,894,630 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Zonal Id Pin
john563214-Mar-24 2:52
john563214-Mar-24 2:52 
GeneralRe: Zonal Id Pin
CPallini14-Mar-24 3:08
mveCPallini14-Mar-24 3:08 
Questionjava Pin
Aryan Gupta 202413-Mar-24 11:20
Aryan Gupta 202413-Mar-24 11:20 
AnswerRe: java Pin
jeron113-Mar-24 11:26
jeron113-Mar-24 11:26 
AnswerRe: java Pin
CPallini13-Mar-24 21:44
mveCPallini13-Mar-24 21:44 
GeneralRe: java Pin
Aryan Gupta 202415-Mar-24 10:10
Aryan Gupta 202415-Mar-24 10:10 
GeneralRe: java Pin
CPallini16-Mar-24 1:44
mveCPallini16-Mar-24 1:44 
QuestionMy Visual Studio windows are all misplaced. Pin
Maximilien13-Mar-24 3:11
Maximilien13-Mar-24 3:11 
AnswerRe: My Visual Studio windows are all misplaced. Pin
Richard Andrew x6413-Mar-24 12:34
professionalRichard Andrew x6413-Mar-24 12:34 
GeneralRe: My Visual Studio windows are all misplaced. Pin
Maximilien14-Mar-24 2:44
Maximilien14-Mar-24 2:44 
GeneralRe: My Visual Studio windows are all misplaced. Pin
Richard Andrew x6414-Mar-24 2:52
professionalRichard Andrew x6414-Mar-24 2:52 
GeneralRe: My Visual Studio windows are all misplaced. Pin
RedDk16-Mar-24 11:21
RedDk16-Mar-24 11:21 
QuestionSendNotifyMessage() "queues" messages Pin
MikeBz12-Mar-24 5:53
MikeBz12-Mar-24 5:53 
AnswerRe: SendNotifyMessage() "queues" messages Pin
jschell12-Mar-24 14:55
jschell12-Mar-24 14:55 
GeneralRe: SendNotifyMessage() "queues" messages Pin
MikeBz18-Mar-24 0:26
MikeBz18-Mar-24 0:26 
QuestionDetermining reason for SendMessageTimeout() failure Pin
MikeBz12-Mar-24 0:37
MikeBz12-Mar-24 0:37 
SuggestionRe: Determining reason for SendMessageTimeout() failure Pin
Richard MacCutchan12-Mar-24 5:50
mveRichard MacCutchan12-Mar-24 5:50 
GeneralRe: Determining reason for SendMessageTimeout() failure Pin
MikeBz12-Mar-24 5:52
MikeBz12-Mar-24 5:52 
AnswerRe: Determining reason for SendMessageTimeout() failure Pin
jschell12-Mar-24 15:01
jschell12-Mar-24 15:01 
MikeBz wrote:
because the thread is hung.


In my experience attempting to definitely trap that is just not going to work.

The states that one can reliably define for a thread
1. It worked. Worked can include returning an error result (of any sort.)
2. It took too long.

For the second case one might try to hypothesize about the cause. And then perhaps collect information, even over time, that allows one to narrow detectable types of failures.

But one should never expect that they can detect and certainly not correct all possible errors. All one can do is reduce the failure rate to a point where it can be ignored.
GeneralRe: Determining reason for SendMessageTimeout() failure Pin
MikeBz17-Mar-24 23:52
MikeBz17-Mar-24 23:52 
QuestionVS2022, I hate thee... not really but I do wish Microsoft would stop f'ing around with menus and process... - MDI app, ON_NOTIFY Pin
charlieg3-Mar-24 15:42
charlieg3-Mar-24 15:42 
QuestionRe: VS2022, I hate thee... not really but I do wish Microsoft would stop f'ing around with menus and process... - MDI app, ON_NOTIFY Pin
CPallini3-Mar-24 21:01
mveCPallini3-Mar-24 21:01 
AnswerRe: VS2022, I hate thee... not really but I do wish Microsoft would stop f'ing around with menus and process... - MDI app, ON_NOTIFY Pin
charlieg4-Mar-24 1:24
charlieg4-Mar-24 1:24 
QuestionC code "crashes"... Pin
Salvatore Terress3-Mar-24 7:08
Salvatore Terress3-Mar-24 7:08 
AnswerRe: C code "crashes"... Pin
Victor Nijegorodov3-Mar-24 8:05
Victor Nijegorodov3-Mar-24 8:05 

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.