Click here to Skip to main content
15,888,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Messagebox problem Pin
Lakshmi_p10-Oct-07 20:14
Lakshmi_p10-Oct-07 20:14 
QuestionHow to locate application folder? Pin
TooShy2Talk10-Oct-07 15:46
TooShy2Talk10-Oct-07 15:46 
AnswerRe: How to locate application folder? Pin
Naveen10-Oct-07 16:14
Naveen10-Oct-07 16:14 
GeneralRe: How to locate application folder? Pin
TooShy2Talk10-Oct-07 16:58
TooShy2Talk10-Oct-07 16:58 
AnswerRe: How to locate application folder? Pin
David Crow11-Oct-07 3:31
David Crow11-Oct-07 3:31 
QuestionPlease help me using ipl98library version 2.20 in Borland C++!!! Pin
Tien Manh10-Oct-07 15:35
Tien Manh10-Oct-07 15:35 
QuestionNeed local C++/WinMobile consulting help [modified] Pin
billsh10-Oct-07 14:51
billsh10-Oct-07 14:51 
QuestionWSAGetLastError() Pin
dellthinker10-Oct-07 14:51
dellthinker10-Oct-07 14:51 
Hi all. I was trying to make something that will try to reconnect on a severed connection from the server. Now i know WSAGetLastError only works if a message is trying to be sent from client to server, and a error code is returned in case the message doesnt go through. So i did the following:

Started a server.
Connected client
Turned server off.

And i got error code 183 in return.

So i figured, if i can match it then i should be able to reconnect.

<br />
if(WSAGetLastError()==183){<br />
    ...// Reconnect<br />
}<br />


But to no avail it didnt work. So what should i do in a situation like this? Any suggestions? Thanx in advance!
QuestionRe: WSAGetLastError() Pin
David Crow11-Oct-07 3:30
David Crow11-Oct-07 3:30 
AnswerRe: WSAGetLastError() Pin
dellthinker11-Oct-07 5:22
dellthinker11-Oct-07 5:22 
GeneralRe: WSAGetLastError() Pin
David Crow11-Oct-07 5:33
David Crow11-Oct-07 5:33 
GeneralRe: WSAGetLastError() Pin
dellthinker11-Oct-07 7:23
dellthinker11-Oct-07 7:23 
QuestionRe: WSAGetLastError() Pin
David Crow11-Oct-07 7:34
David Crow11-Oct-07 7:34 
AnswerRe: WSAGetLastError() Pin
dellthinker11-Oct-07 15:37
dellthinker11-Oct-07 15:37 
GeneralRe: WSAGetLastError() Pin
JudyL_MD12-Oct-07 3:27
JudyL_MD12-Oct-07 3:27 
GeneralRe: WSAGetLastError() Pin
David Crow12-Oct-07 3:30
David Crow12-Oct-07 3:30 
QuestionProblems handling DBT_DEVICEQUERYREMOVE [modified] Pin
64BitWho10-Oct-07 12:23
64BitWho10-Oct-07 12:23 
QuestionVRP using genetic algorithms coded in c++ Pin
mihira18410-Oct-07 11:35
mihira18410-Oct-07 11:35 
AnswerRe: VRP using genetic algorithms coded in c++ Pin
Mark Salsbery10-Oct-07 12:24
Mark Salsbery10-Oct-07 12:24 
Questionfilling memory with a pattern Pin
DQNOK10-Oct-07 11:00
professionalDQNOK10-Oct-07 11:00 
QuestionRe: filling memory with a pattern Pin
David Crow11-Oct-07 3:28
David Crow11-Oct-07 3:28 
AnswerRe: filling memory with a pattern Pin
DQNOK11-Oct-07 3:44
professionalDQNOK11-Oct-07 3:44 
GeneralRe: filling memory with a pattern Pin
David Crow11-Oct-07 3:52
David Crow11-Oct-07 3:52 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 7:06
professionalDQNOK11-Oct-07 7:06 
GeneralRe: filling memory with a pattern Pin
David Crow11-Oct-07 7:21
David Crow11-Oct-07 7:21 

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.