Click here to Skip to main content
16,007,472 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Platform SDk problem Pin
Michael Dunn10-Oct-01 22:35
sitebuilderMichael Dunn10-Oct-01 22:35 
GeneralCOM client structure Pin
Peter Molnar10-Oct-01 13:43
Peter Molnar10-Oct-01 13:43 
GeneralCComboBox Pin
Vu Nguyen10-Oct-01 13:22
Vu Nguyen10-Oct-01 13:22 
GeneralRe: CComboBox Pin
Michael Dunn10-Oct-01 13:39
sitebuilderMichael Dunn10-Oct-01 13:39 
GeneralRe: The other way is ...? Pin
Masaaki Onishi10-Oct-01 15:05
Masaaki Onishi10-Oct-01 15:05 
GeneralGood Win32 resources Pin
EvilSource10-Oct-01 12:31
EvilSource10-Oct-01 12:31 
GeneralRe: Good Win32 resources Pin
Christian Graus10-Oct-01 12:48
protectorChristian Graus10-Oct-01 12:48 
GeneralRepost: CSocket help needed Pin
Peter Sjöström10-Oct-01 12:26
Peter Sjöström10-Oct-01 12:26 
I use a CSocket derived class with a derived CWinThread class and use CArchive with it. For some yet unknown reason Send() locks after a while of running (hours). The opened socket has communication initiated from both client and server at times, if that helps. (Server sends tiny data once per second, client sends kB data occasionally, like every 10 seconds or so, plus both sides sends an ACK byte for every command)

Anyway, since I cannot find the reason of the locking, I want to get around the locked state. I want to make something from the outside and would like to have an OnIdle timer reset at intervals in the CWinThread. A parent thread will check this timer and if it isn't reset in reasonable time (seconds) the parent thread will call CancelBlockingCall() on the locked socket.

Now, will this work? Isn't it illegal to call the CSocket object function from another thread? Confused | :confused:
GeneralRe: Repost: CSocket help needed Pin
markkuk10-Oct-01 19:45
markkuk10-Oct-01 19:45 
GeneralRe: Repost: CSocket help needed Pin
Peter Sjöström10-Oct-01 22:29
Peter Sjöström10-Oct-01 22:29 
GeneralSending SMS in Visual C++ Pin
10-Oct-01 11:14
suss10-Oct-01 11:14 
GeneralIcons cache in WIN98 Pin
10-Oct-01 10:04
suss10-Oct-01 10:04 
GeneralHello Michael P Butler and all ! about the ATL ! Pin
10-Oct-01 9:33
suss10-Oct-01 9:33 
GeneralRe: Hello Michael P Butler and all ! about the ATL ! Pin
Carlos Antollini10-Oct-01 9:43
Carlos Antollini10-Oct-01 9:43 
GeneralManny thanks !!! Pin
10-Oct-01 10:06
suss10-Oct-01 10:06 
GeneralRe: Manny thanks !!! Pin
Carlos Antollini10-Oct-01 10:16
Carlos Antollini10-Oct-01 10:16 
GeneralCarlos Antollini and all ! Can you contain aid me in this subject ? Please ! Pin
10-Oct-01 22:03
suss10-Oct-01 22:03 
GeneralRe: Carlos Antollini and all ! Can you contain aid me in this subject ? Please ! Pin
Michael P Butler10-Oct-01 22:17
Michael P Butler10-Oct-01 22:17 
GeneralMany much Thanks Michael !!! and extra small question ! please !!! Pin
10-Oct-01 23:42
suss10-Oct-01 23:42 
GeneralRuntime linking problem between 2 .dll Pin
yarp10-Oct-01 8:22
yarp10-Oct-01 8:22 
GeneralRe: Runtime linking problem between 2 .dll Pin
Paolo Messina10-Oct-01 9:32
professionalPaolo Messina10-Oct-01 9:32 
GeneralRe: Runtime linking problem between 2 .dll Pin
yarp10-Oct-01 18:53
yarp10-Oct-01 18:53 
GeneralDebugging under Windows 98 Pin
James Spibey10-Oct-01 7:00
James Spibey10-Oct-01 7:00 
GeneralRe: Debugging under Windows 98 Pin
James Spibey10-Oct-01 7:14
James Spibey10-Oct-01 7:14 
GeneralWNDPROC function types. Pin
Mike Doner10-Oct-01 6:12
Mike Doner10-Oct-01 6:12 

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.