Click here to Skip to main content
15,795,331 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Application check for virus Pin
Dave Kreskowiak23-May-22 3:16
mveDave Kreskowiak23-May-22 3:16 
AnswerRe: Application check for virus Pin
Gopi Nath23-May-22 19:30
Gopi Nath23-May-22 19:30 
QuestionSetting Font and Text Colors items of ComboBox Pin
ForNow22-May-22 13:32
ForNow22-May-22 13:32 
AnswerRe: Setting Font and Text Colors items of ComboBox Solved almost Pin
ForNow22-May-22 14:28
ForNow22-May-22 14:28 
GeneralRe: Setting Font and Text Colors items of ComboBox Solved almost Pin
Victor Nijegorodov22-May-22 21:14
Victor Nijegorodov22-May-22 21:14 
GeneralRe: Setting Font and Text Colors items of ComboBox Solved almost Pin
ForNow22-May-22 23:26
ForNow22-May-22 23:26 
QuestionAccessing and displaying semaphore count Pin
coco24322-May-22 2:42
coco24322-May-22 2:42 
AnswerRe: Accessing and displaying semaphore count Pin
Mircea Neacsu22-May-22 3:02
Mircea Neacsu22-May-22 3:02 
Thread doesn’t have enough access rights to semaphore. It would need SEMAPHORE_MODIFY_STATE. See Synchronization Object Security and Access Rights - Win32 apps | Microsoft Docs[^]

Checking return value of ReleaseSemaphore would show that it fails.
Mircea

GeneralRe: Accessing and displaying semaphore count Pin
coco24322-May-22 3:48
coco24322-May-22 3:48 
GeneralRe: Accessing and displaying semaphore count Pin
Mircea Neacsu22-May-22 3:51
Mircea Neacsu22-May-22 3:51 
GeneralRe: Accessing and displaying semaphore count Pin
Richard Andrew x6422-May-22 4:04
professionalRichard Andrew x6422-May-22 4:04 
GeneralRe: Accessing and displaying semaphore count Pin
coco24322-May-22 6:07
coco24322-May-22 6:07 
AnswerRe: Accessing and displaying semaphore count Pin
Victor Nijegorodov22-May-22 7:15
Victor Nijegorodov22-May-22 7:15 
GeneralRe: Accessing and displaying semaphore count Pin
coco24322-May-22 8:17
coco24322-May-22 8:17 
QuestionOwnerDraw Combox Pin
ForNow18-May-22 15:28
ForNow18-May-22 15:28 
AnswerRe: OwnerDraw Combox Pin
Victor Nijegorodov18-May-22 22:13
Victor Nijegorodov18-May-22 22:13 
QuestionC++ code for Gomoku Pin
Lesego Molelekoa18-May-22 6:58
Lesego Molelekoa18-May-22 6:58 
AnswerRe: C++ code for Gomoku Pin
Richard MacCutchan18-May-22 7:01
mveRichard MacCutchan18-May-22 7:01 
AnswerRe: C++ code for Gomoku Pin
Victor Nijegorodov18-May-22 10:25
Victor Nijegorodov18-May-22 10:25 
QuestionSecurity Check Stack overflow compiler GS option Pin
ForNow16-May-22 3:16
ForNow16-May-22 3:16 
AnswerRe: Security Check Stack overflow compiler GS option Pin
Victor Nijegorodov16-May-22 4:08
Victor Nijegorodov16-May-22 4:08 
GeneralRe: Security Check Stack overflow compiler GS option Pin
ForNow16-May-22 4:22
ForNow16-May-22 4:22 
QuestionHow can i define cardinalization in c++? Pin
Member 1563777116-May-22 2:38
Member 1563777116-May-22 2:38 
AnswerRe: How can i define cardinalization in c++? Pin
Mircea Neacsu16-May-22 2:54
Mircea Neacsu16-May-22 2:54 
GeneralRe: How can i define cardinalization in c++? Pin
David Crow16-May-22 3:13
David Crow16-May-22 3:13 

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.