Click here to Skip to main content
15,886,842 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [Win32]Set bitmap to button Pin
Member 296547115-Jun-11 9:01
Member 296547115-Jun-11 9:01 
GeneralRe: [Win32]Set bitmap to button Pin
Richard MacCutchan15-Jun-11 21:15
mveRichard MacCutchan15-Jun-11 21:15 
GeneralRe: [Win32]Set bitmap to button Pin
Member 296547115-Jun-11 22:34
Member 296547115-Jun-11 22:34 
GeneralRe: [Win32]Set bitmap to button [modified] Pin
Richard MacCutchan16-Jun-11 3:22
mveRichard MacCutchan16-Jun-11 3:22 
AnswerRe: [Win32]Set bitmap to button Pin
Abhi Lahare15-Jun-11 8:32
Abhi Lahare15-Jun-11 8:32 
GeneralRe: [Win32]Set bitmap to button Pin
Member 296547115-Jun-11 8:35
Member 296547115-Jun-11 8:35 
QuestionCAsyncSocket - Connection Recovery Pin
burns86315-Jun-11 6:31
burns86315-Jun-11 6:31 
AnswerRe: CAsyncSocket - Connection Recovery Pin
burns86316-Jun-11 3:18
burns86316-Jun-11 3:18 
Thankfully, I have managed to solve this issue so thought I would post the solution in the hope that it might help someone else with the same problem.

The problem (rather annoyingly) came because the socket was being created initially on the main thread, but was later being created again (after the socket was destroyed because of a connection error) on a worker thread. This meant that the On* callbacks weren't being implemented, and so I got no feedback from OnConnect and didn't receive any data because OnReceive was never being called.

As soon as I managed the socket entirely from the main thread, everything was fixed Smile | :)
QuestionRouting Enter/Return key press to a Dialog Pin
dipuks15-Jun-11 4:33
dipuks15-Jun-11 4:33 
AnswerRe: Routing Enter/Return key press to a Dialog Pin
Abhi Lahare15-Jun-11 4:51
Abhi Lahare15-Jun-11 4:51 
GeneralRe: Routing Enter/Return key press to a Dialog Pin
dipuks15-Jun-11 5:31
dipuks15-Jun-11 5:31 
GeneralRe: Routing Enter/Return key press to a Dialog Pin
Abhi Lahare15-Jun-11 7:01
Abhi Lahare15-Jun-11 7:01 
AnswerRe: Routing Enter/Return key press to a Dialog Pin
Albert Holguin15-Jun-11 5:12
professionalAlbert Holguin15-Jun-11 5:12 
QuestionRe: Routing Enter/Return key press to a Dialog Pin
David Crow15-Jun-11 5:57
David Crow15-Jun-11 5:57 
QuestionProblem in creating dsn using sqlconfigdatasource() Pin
shashankacharya15-Jun-11 0:58
shashankacharya15-Jun-11 0:58 
AnswerRe: Problem in creating dsn using sqlconfigdatasource() Pin
David Crow15-Jun-11 2:09
David Crow15-Jun-11 2:09 
AnswerRe: Problem in creating dsn using sqlconfigdatasource() Pin
gaspher17-Jun-11 13:06
gaspher17-Jun-11 13:06 
QuestionVPN Server and Client Pin
dwk0014-Jun-11 22:34
dwk0014-Jun-11 22:34 
QuestionEquation for a straight line Pin
Cyclone_S14-Jun-11 13:48
Cyclone_S14-Jun-11 13:48 
AnswerRe: Equation for a straight line Pin
tolw14-Jun-11 19:27
tolw14-Jun-11 19:27 
GeneralRe: Equation for a straight line Pin
Cyclone_S15-Jun-11 10:31
Cyclone_S15-Jun-11 10:31 
GeneralRe: Equation for a straight line Pin
tolw15-Jun-11 18:56
tolw15-Jun-11 18:56 
GeneralRe: Equation for a straight line Pin
Stefan_Lang15-Jun-11 23:48
Stefan_Lang15-Jun-11 23:48 
GeneralRe: Equation for a straight line Pin
Cyclone_S17-Jun-11 15:13
Cyclone_S17-Jun-11 15:13 
QuestionWhy is there no cfind() in the std containers? Pin
Craig Longman14-Jun-11 12:15
Craig Longman14-Jun-11 12:15 

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.