Click here to Skip to main content
15,890,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: conflicting types for 'uint32_t' issue Pin
Richard MacCutchan5-May-22 4:02
mveRichard MacCutchan5-May-22 4:02 
AnswerRe: conflicting types for 'uint32_t' issue Pin
Randor 5-May-22 9:28
professional Randor 5-May-22 9:28 
GeneralRe: conflicting types for 'uint32_t' issue Pin
focusdoit5-May-22 14:04
focusdoit5-May-22 14:04 
GeneralRe: conflicting types for 'uint32_t' issue Pin
Randor 5-May-22 14:31
professional Randor 5-May-22 14:31 
GeneralRe: conflicting types for 'uint32_t' issue Pin
Richard MacCutchan5-May-22 22:23
mveRichard MacCutchan5-May-22 22:23 
QuestionComplier error C2280 explanation Pin
ForNow5-May-22 1:37
ForNow5-May-22 1:37 
AnswerRe: Complier error C2280 explanation Pin
CPallini5-May-22 1:59
mveCPallini5-May-22 1:59 
GeneralRe: Complier error C2280 explanation Pin
ForNow5-May-22 2:07
ForNow5-May-22 2:07 
GeneralRe: Complier error C2280 explanation Pin
CPallini5-May-22 2:10
mveCPallini5-May-22 2:10 
GeneralRe: Complier error C2280 explanation Pin
ForNow5-May-22 2:21
ForNow5-May-22 2:21 
GeneralRe: Complier error C2280 explanation Pin
CPallini5-May-22 2:34
mveCPallini5-May-22 2:34 
GeneralRe: Complier error C2280 explanation Pin
ForNow5-May-22 3:01
ForNow5-May-22 3:01 
Questioncannot Create CListBox : CFormView without IDD Pin
rtischer82774-May-22 4:04
rtischer82774-May-22 4:04 
QuestionRe: cannot Create CListBox : CFormView without IDD Pin
David Crow4-May-22 4:47
David Crow4-May-22 4:47 
QuestionWaitForSingleObject Visual C++ bug Pin
coco2431-May-22 8:35
coco2431-May-22 8:35 
AnswerRe: WaitForSingleObject Visual C++ bug Pin
Randor 1-May-22 10:22
professional Randor 1-May-22 10:22 
coco243 wrote:
execution stops at WaitForSingleObject, as if hAutoEvent isn't signaled or I don't know what is happening
coco243 wrote:
Please help me to find what I am not doing right.
It's not signaled on the second pass. You are using an Auto-Reset event object. So when your ChildThreadProc thread exits the event goes back into a nonsignaled state. The operating system is managing this for you.

Event Objects (Synchronization) - Win32 apps | Microsoft Docs[^]

You could change to a manual signal and set/reset it yourself.

Best Wishes,
-David Delaune
GeneralRe: WaitForSingleObject Visual C++ bug Pin
coco2434-May-22 5:43
coco2434-May-22 5:43 
GeneralRe: WaitForSingleObject Visual C++ bug Pin
Randor 4-May-22 8:02
professional Randor 4-May-22 8:02 
GeneralRe: WaitForSingleObject Visual C++ bug Pin
coco2434-May-22 9:19
coco2434-May-22 9:19 
QuestionOne DrawItem Function for both CStatic and CComboBox Pin
ForNow30-Apr-22 15:11
ForNow30-Apr-22 15:11 
AnswerRe: One DrawItem Function for both CStatic and CComboBox Pin
Richard MacCutchan30-Apr-22 21:06
mveRichard MacCutchan30-Apr-22 21:06 
GeneralRe: One DrawItem Function for both CStatic and CComboBox Pin
ForNow1-May-22 3:27
ForNow1-May-22 3:27 
GeneralRe: One DrawItem Function for both CStatic and CComboBox Pin
Richard MacCutchan1-May-22 3:36
mveRichard MacCutchan1-May-22 3:36 
GeneralRe: One DrawItem Function for both CStatic and CComboBox Pin
ForNow1-May-22 3:52
ForNow1-May-22 3:52 
QuestionClist Find question Pin
ForNow29-Apr-22 3:12
ForNow29-Apr-22 3:12 

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.