Click here to Skip to main content
15,914,417 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Create a partition from free space of another partition Pin
MicroVirus21-Aug-11 8:35
MicroVirus21-Aug-11 8:35 
QuestionThread safe output.. Pin
TenFiftyTwo20-Aug-11 5:33
TenFiftyTwo20-Aug-11 5:33 
AnswerRe: Thread safe output.. Pin
Code-o-mat20-Aug-11 9:40
Code-o-mat20-Aug-11 9:40 
GeneralRe: Thread safe output.. Pin
TenFiftyTwo20-Aug-11 9:59
TenFiftyTwo20-Aug-11 9:59 
GeneralRe: Thread safe output.. Pin
Code-o-mat20-Aug-11 11:19
Code-o-mat20-Aug-11 11:19 
GeneralRe: Thread safe output.. Pin
TenFiftyTwo20-Aug-11 12:10
TenFiftyTwo20-Aug-11 12:10 
GeneralRe: Thread safe output.. Pin
Code-o-mat20-Aug-11 22:52
Code-o-mat20-Aug-11 22:52 
GeneralRe: Thread safe output.. Pin
TenFiftyTwo20-Aug-11 23:10
TenFiftyTwo20-Aug-11 23:10 
GeneralRe: Thread safe output.. Pin
Code-o-mat20-Aug-11 23:30
Code-o-mat20-Aug-11 23:30 
GeneralRe: Thread safe output.. Pin
TenFiftyTwo20-Aug-11 23:32
TenFiftyTwo20-Aug-11 23:32 
GeneralRe: Thread safe output.. Pin
Code-o-mat21-Aug-11 10:05
Code-o-mat21-Aug-11 10:05 
GeneralRe: Thread safe output.. Pin
TenFiftyTwo21-Aug-11 10:16
TenFiftyTwo21-Aug-11 10:16 
GeneralRe: Thread safe output.. [modified] Pin
Code-o-mat21-Aug-11 10:23
Code-o-mat21-Aug-11 10:23 
QuestionCRegKey::SetValue not function on Win 7 Pin
_Flaviu19-Aug-11 8:37
_Flaviu19-Aug-11 8:37 
AnswerRe: CRegKey::SetValue not function on Win 7 Pin
Richard MacCutchan19-Aug-11 9:23
mveRichard MacCutchan19-Aug-11 9:23 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
_Flaviu19-Aug-11 9:39
_Flaviu19-Aug-11 9:39 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
Richard Andrew x6419-Aug-11 11:43
professionalRichard Andrew x6419-Aug-11 11:43 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
Richard MacCutchan20-Aug-11 0:16
mveRichard MacCutchan20-Aug-11 0:16 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
_Flaviu20-Aug-11 2:42
_Flaviu20-Aug-11 2:42 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
Richard MacCutchan20-Aug-11 6:31
mveRichard MacCutchan20-Aug-11 6:31 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
Cheongwadae20-Aug-11 9:17
Cheongwadae20-Aug-11 9:17 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
_Flaviu22-Aug-11 19:26
_Flaviu22-Aug-11 19:26 
QuestionVisual studio 2005 (package load failure) Pin
lahatra19-Aug-11 7:48
lahatra19-Aug-11 7:48 
AnswerRe: Visual studio 2005 (package load failure) Pin
Richard MacCutchan19-Aug-11 9:20
mveRichard MacCutchan19-Aug-11 9:20 
QuestionHow to detect a winsock connection lost Pin
sirtimid19-Aug-11 5:53
sirtimid19-Aug-11 5:53 
I'm using the winsock API in my VC++ 2008 app.
When the application is running and the socket is connected all the time reading/writing, I unplug the network cable to force a network problem.
In order to check if the connection is down I just send 0 bytes to the socket, but I still returns 0 instead of SOCKET_ERROR.
Does anyone know how to check if the connection is down?

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.