Click here to Skip to main content
16,010,544 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralStupid CEdit problem Pin
Hans Ruck3-Jul-02 6:26
Hans Ruck3-Jul-02 6:26 
GeneralRe: Stupid CEdit problem Pin
Nish Nishant3-Jul-02 6:38
sitebuilderNish Nishant3-Jul-02 6:38 
GeneralRe: Stupid CEdit problem Pin
Hans Ruck3-Jul-02 6:42
Hans Ruck3-Jul-02 6:42 
GeneralRe: Stupid CEdit problem Pin
Nish Nishant3-Jul-02 6:51
sitebuilderNish Nishant3-Jul-02 6:51 
GeneralRe: Stupid CEdit problem Pin
3-Jul-02 6:43
suss3-Jul-02 6:43 
GeneralRe: Stupid CEdit problem Pin
Hans Ruck3-Jul-02 6:48
Hans Ruck3-Jul-02 6:48 
GeneralRe: Stupid CEdit problem (solved) Pin
Hans Ruck3-Jul-02 6:51
Hans Ruck3-Jul-02 6:51 
GeneralCAsyncSocket Pin
Wade H.3-Jul-02 6:21
Wade H.3-Jul-02 6:21 
I am writing an app that uses the CAsyncSocket in order to talk to a telnet session and automated some tasks.
Here is the problem.
If I isolate the main functions of a connection into its seperate parts, and run those individually from a button, everything is fine, however, if they are chained within a single function, it fails. ie) connect, send password, run a router command.
The socket class appears to be running in its own thread. I have overridden all of the relevent virtual functions (ie OnConnect, OnReceive, etc. - In the socket class) but I am unable and unsure how to get a message to the dialog as to when the receive is finished. I have tried setting flags and just looping in the dialog code, but the app just hangs.

Help?

Thanks
GeneralRe: CAsyncSocket Pin
3-Jul-02 19:11
suss3-Jul-02 19:11 
QuestionCursor ?? Pin
Rage3-Jul-02 6:08
professionalRage3-Jul-02 6:08 
AnswerRe: Cursor ?? Pin
Chris Losinger3-Jul-02 6:52
professionalChris Losinger3-Jul-02 6:52 
Generala CMDUI question Pin
ns3-Jul-02 5:58
ns3-Jul-02 5:58 
Generalmore CMDUI questions Pin
ns3-Jul-02 6:11
ns3-Jul-02 6:11 
GeneralRe: more CMDUI questions Pin
ns3-Jul-02 7:22
ns3-Jul-02 7:22 
GeneralRe: a CMDUI - problem resolved! Pin
ns3-Jul-02 8:14
ns3-Jul-02 8:14 
Generalsurface plotting component Pin
3-Jul-02 5:46
suss3-Jul-02 5:46 
GeneralError when creating MFC wizard app with MS VisualC++ .NET Pin
rsasalm_3-Jul-02 5:14
rsasalm_3-Jul-02 5:14 
Generalclasses vanishing from class view!!! Pin
ns3-Jul-02 5:14
ns3-Jul-02 5:14 
GeneralRe: classes vanishing from class view!!! Pin
Michael P Butler3-Jul-02 5:19
Michael P Butler3-Jul-02 5:19 
GeneralRe: classes vanishing from class view!!! Pin
Alan Chambers3-Jul-02 5:35
Alan Chambers3-Jul-02 5:35 
GeneralRe: classes vanishing from class view!!! Pin
ns3-Jul-02 5:39
ns3-Jul-02 5:39 
GeneralRe: classes vanishing from class view!!! Pin
Alan Chambers3-Jul-02 5:46
Alan Chambers3-Jul-02 5:46 
GeneralRe: classes vanishing from class view!!! Pin
3-Jul-02 5:38
suss3-Jul-02 5:38 
GeneralRe: classes vanishing from class view!!! Pin
benjymous3-Jul-02 5:42
benjymous3-Jul-02 5:42 
GeneralA very easy way to fix it Pin
Abin3-Jul-02 6:34
Abin3-Jul-02 6:34 

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.