Click here to Skip to main content
15,892,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat port is GetPeerName returning? Pin
lihin0028-Jul-05 9:21
lihin0028-Jul-05 9:21 
AnswerRe: What port is GetPeerName returning? Pin
Alexander M.,28-Jul-05 9:29
Alexander M.,28-Jul-05 9:29 
GeneralRe: What port is GetPeerName returning? Pin
lihin0028-Jul-05 9:36
lihin0028-Jul-05 9:36 
Questionsndvol32? Pin
billiam90428-Jul-05 8:57
billiam90428-Jul-05 8:57 
AnswerRe: sndvol32? Pin
Alexander M.,28-Jul-05 9:06
Alexander M.,28-Jul-05 9:06 
GeneralRe: sndvol32? Pin
billiam90428-Jul-05 9:10
billiam90428-Jul-05 9:10 
GeneralRe: sndvol32? Pin
Alexander M.,28-Jul-05 9:14
Alexander M.,28-Jul-05 9:14 
Generaltimeout for while loop Pin
trigger9128-Jul-05 8:53
susstrigger9128-Jul-05 8:53 
Hi,
I am quite new to vc++. I am doing a project in win32. I want to set timeout value for a while loop. I am checking a condition in a while loop. If that condition is not satisfied at all, instead of looping forever I want to set timeout value like 300 msec then exit the while loop. I want to do this with CreateEvent() and waitforsingleobject(), but I dont know how to do it exactly.
Can someone help me with sample code???
Thanks a lot.
GeneralRe: timeout for while loop Pin
Alexander M.,28-Jul-05 8:57
Alexander M.,28-Jul-05 8:57 
GeneralRe: timeout for while loop Pin
trigger9128-Jul-05 9:33
susstrigger9128-Jul-05 9:33 
GeneralRe: timeout for while loop Pin
Alexander M.,29-Jul-05 4:26
Alexander M.,29-Jul-05 4:26 
GeneralRe: timeout for while loop Pin
Peter Weyzen28-Jul-05 9:46
Peter Weyzen28-Jul-05 9:46 
GeneralRe: timeout for while loop Pin
Alexander M.,29-Jul-05 4:25
Alexander M.,29-Jul-05 4:25 
GeneralRe: timeout for while loop Pin
David Crow29-Jul-05 6:03
David Crow29-Jul-05 6:03 
GeneralRe: timeout for while loop Pin
nm_11429-Jul-05 14:16
nm_11429-Jul-05 14:16 
Generalread from comport problem Pin
quarry_0628-Jul-05 8:42
quarry_0628-Jul-05 8:42 
GeneralRe: read from comport problem Pin
Bob Stanneveld28-Jul-05 19:19
Bob Stanneveld28-Jul-05 19:19 
GeneralRe: read from comport problem Pin
quarry_0629-Jul-05 8:15
quarry_0629-Jul-05 8:15 
GeneralRe: read from comport problem Pin
Bob Stanneveld1-Aug-05 1:01
Bob Stanneveld1-Aug-05 1:01 
GeneralWeb Services from VC++ 6.0 Pin
carks28-Jul-05 8:21
carks28-Jul-05 8:21 
GeneralRe: Web Services from VC++ 6.0 Pin
fakefur28-Jul-05 10:05
fakefur28-Jul-05 10:05 
GeneralRe: Web Services from VC++ 6.0 Pin
Ravi Bhavnani28-Jul-05 10:16
professionalRavi Bhavnani28-Jul-05 10:16 
GeneralHelp me... Rich Edit Pin
Aqueel28-Jul-05 8:18
Aqueel28-Jul-05 8:18 
GeneralRe: Help me... Rich Edit Pin
John R. Shaw28-Jul-05 8:51
John R. Shaw28-Jul-05 8:51 
GeneralRe: Help me... Rich Edit Pin
David Crow28-Jul-05 9:49
David Crow28-Jul-05 9:49 

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.