Click here to Skip to main content
15,891,253 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncan VC++ 6.0 talk with SharePoint Server Pin
s33335-May-09 10:24
s33335-May-09 10:24 
AnswerRe: can VC++ 6.0 talk with SharePoint Server Pin
Stuart Dootson5-May-09 10:37
professionalStuart Dootson5-May-09 10:37 
QuestionSemaphore Max count. Pin
_80865-May-09 6:57
_80865-May-09 6:57 
AnswerRe: Semaphore Max count. Pin
Stuart Dootson5-May-09 7:26
professionalStuart Dootson5-May-09 7:26 
GeneralRe: Semaphore Max count. Pin
_80865-May-09 16:36
_80865-May-09 16:36 
GeneralRe: Semaphore Max count. Pin
Stuart Dootson5-May-09 17:00
professionalStuart Dootson5-May-09 17:00 
GeneralRe: Semaphore Max count. Pin
_80865-May-09 17:20
_80865-May-09 17:20 
GeneralRe: Semaphore Max count. Pin
_80866-May-09 6:36
_80866-May-09 6:36 
Hi Stuart, Let me continue my discussion now. Okay, now as you said, We'd require two threads to release the Semaphore without even acquiring it. Assume we are not doing it. Now the Semaphore variable counter would be 0. What should happen if a new process/thread tries to call CreateSemaphore now?

Should I check for GetLastError()? So that I might get "Limit_reached" or something? Before putting the new handle into Wait function? Or I should pass the handle to the wait function straight and try to get check the value returned by it?

Your answers have been awesome. Thanks a lot.

----------------------------
286? WOWW!Blush | :O

GeneralRe: Semaphore Max count. Pin
Stuart Dootson6-May-09 7:24
professionalStuart Dootson6-May-09 7:24 
GeneralRe: Semaphore Max count. Pin
_80866-May-09 16:23
_80866-May-09 16:23 
GeneralRe: Semaphore Max count. Pin
Stuart Dootson6-May-09 19:32
professionalStuart Dootson6-May-09 19:32 
QuestionHelp about Win32 Message loop Pin
reply2am5-May-09 4:48
reply2am5-May-09 4:48 
QuestionAnimatedGif drawing with openGL Pin
Jufranz5-May-09 4:10
Jufranz5-May-09 4:10 
QuestionHow to Convert _asm to Interinsics Pin
AB_dev5-May-09 3:32
AB_dev5-May-09 3:32 
AnswerRe: How to Convert _asm to Interinsics Pin
Stuart Dootson5-May-09 3:42
professionalStuart Dootson5-May-09 3:42 
GeneralRe: How to Convert _asm to Interinsics Pin
AB_dev5-May-09 3:47
AB_dev5-May-09 3:47 
GeneralRe: How to Convert _asm to Interinsics Pin
harold aptroot5-May-09 4:02
harold aptroot5-May-09 4:02 
GeneralRe: How to Convert _asm to Interinsics Pin
Stuart Dootson5-May-09 4:03
professionalStuart Dootson5-May-09 4:03 
AnswerRe: How to Convert _asm to Interinsics Pin
Randor 5-May-09 7:45
professional Randor 5-May-09 7:45 
QuestionHow to add web reference in my C++ project? Pin
eight5-May-09 3:29
eight5-May-09 3:29 
AnswerRe: How to add web reference in my C++ project? Pin
Stuart Dootson5-May-09 3:35
professionalStuart Dootson5-May-09 3:35 
GeneralRe: How to add web reference in my C++ project? Pin
eight5-May-09 16:16
eight5-May-09 16:16 
GeneralRe: How to add web reference in my C++ project? Pin
Stuart Dootson5-May-09 16:51
professionalStuart Dootson5-May-09 16:51 
GeneralRe: How to add web reference in my C++ project? Pin
Member 22503526-Mar-11 20:14
Member 22503526-Mar-11 20:14 
QuestionSync problem when call ControlService with SERVICE_CONTROL_PARAMCHANGE Pin
maishuiking5-May-09 2:38
maishuiking5-May-09 2:38 

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.