Click here to Skip to main content
15,510,771 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [Win32]Set bitmap to button Pin
Member 296547115-Jun-11 10:01
Member 296547115-Jun-11 10:01 
GeneralRe: [Win32]Set bitmap to button Pin
Richard MacCutchan15-Jun-11 22:15
mveRichard MacCutchan15-Jun-11 22:15 
GeneralRe: [Win32]Set bitmap to button Pin
Member 296547115-Jun-11 23:34
Member 296547115-Jun-11 23:34 
GeneralRe: [Win32]Set bitmap to button [modified] Pin
Richard MacCutchan16-Jun-11 4:22
mveRichard MacCutchan16-Jun-11 4:22 
AnswerRe: [Win32]Set bitmap to button Pin
Abhi Lahare15-Jun-11 9:32
Abhi Lahare15-Jun-11 9:32 
GeneralRe: [Win32]Set bitmap to button Pin
Member 296547115-Jun-11 9:35
Member 296547115-Jun-11 9:35 
QuestionCAsyncSocket - Connection Recovery Pin
burns86315-Jun-11 7:31
burns86315-Jun-11 7:31 
AnswerRe: CAsyncSocket - Connection Recovery Pin
burns86316-Jun-11 4:18
burns86316-Jun-11 4: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 5:33
dipuks15-Jun-11 5:33 
AnswerRe: Routing Enter/Return key press to a Dialog Pin
Abhi Lahare15-Jun-11 5:51
Abhi Lahare15-Jun-11 5:51 
GeneralRe: Routing Enter/Return key press to a Dialog Pin
dipuks15-Jun-11 6:31
dipuks15-Jun-11 6:31 
GeneralRe: Routing Enter/Return key press to a Dialog Pin
Abhi Lahare15-Jun-11 8:01
Abhi Lahare15-Jun-11 8:01 
AnswerRe: Routing Enter/Return key press to a Dialog Pin
Albert Holguin15-Jun-11 6:12
professionalAlbert Holguin15-Jun-11 6:12 
QuestionRe: Routing Enter/Return key press to a Dialog Pin
David Crow15-Jun-11 6:57
David Crow15-Jun-11 6:57 
QuestionProblem in creating dsn using sqlconfigdatasource() Pin
shashankacharya15-Jun-11 1:58
shashankacharya15-Jun-11 1:58 
AnswerRe: Problem in creating dsn using sqlconfigdatasource() Pin
David Crow15-Jun-11 3:09
David Crow15-Jun-11 3:09 
AnswerRe: Problem in creating dsn using sqlconfigdatasource() Pin
gaspher17-Jun-11 14:06
gaspher17-Jun-11 14:06 
QuestionVPN Server and Client Pin
dwk0014-Jun-11 23:34
dwk0014-Jun-11 23:34 
QuestionEquation for a straight line Pin
Cyclone_S14-Jun-11 14:48
Cyclone_S14-Jun-11 14:48 
AnswerRe: Equation for a straight line Pin
tolw14-Jun-11 20:27
tolw14-Jun-11 20:27 
GeneralRe: Equation for a straight line Pin
Cyclone_S15-Jun-11 11:31
Cyclone_S15-Jun-11 11:31 
GeneralRe: Equation for a straight line Pin
tolw15-Jun-11 19:56
tolw15-Jun-11 19:56 
GeneralRe: Equation for a straight line Pin
Stefan_Lang16-Jun-11 0:48
mveStefan_Lang16-Jun-11 0:48 
GeneralRe: Equation for a straight line Pin
Cyclone_S17-Jun-11 16:13
Cyclone_S17-Jun-11 16:13 
QuestionWhy is there no cfind() in the std containers? Pin
Craig Longman14-Jun-11 13:15
Craig Longman14-Jun-11 13: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.