Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in deleting the windows registery key and it's sub key Pin
Neeraj Sinha20-Jun-07 3:33
Neeraj Sinha20-Jun-07 3:33 
Questionveryurgent : perfect tool to convert coff format lib to omf format Pin
rjkg20-Jun-07 2:00
rjkg20-Jun-07 2:00 
AnswerRe: veryurgent : perfect tool to convert coff format lib to omf format Pin
toxcct20-Jun-07 2:06
toxcct20-Jun-07 2:06 
GeneralRe: veryurgent : perfect tool to convert coff format lib to omf format Pin
rjkg20-Jun-07 2:20
rjkg20-Jun-07 2:20 
AnswerRe: veryurgent : perfect tool to convert coff format lib to omf format Pin
Mark Salsbery20-Jun-07 5:40
Mark Salsbery20-Jun-07 5:40 
JokeRe: veryurgent : perfect tool to convert coff format lib to omf format Pin
Hamid_RT20-Jun-07 9:24
Hamid_RT20-Jun-07 9:24 
GeneralRe: veryurgent : perfect tool to convert coff format lib to omf format Pin
Mark Salsbery20-Jun-07 9:26
Mark Salsbery20-Jun-07 9:26 
QuestionCSocket stoping in PumpMessage (please help) Pin
tomitron20-Jun-07 1:55
tomitron20-Jun-07 1:55 
Hi
I have a realy stange problem with a mfc networking application I am writing (I couldn't see a netwoking message board, and I think it's more of an mfc problem)

Basically I have your standard central server and multiple clients. Clients can connect and run happily doing what they do for hours on end (tests have run for 15 hours no worries) but quite frequently the appliction will freeze at any random time(when this happens all connected instances server and clients also freeze) the cpu usage drops to zero and they do nothing. When I break the app in debug mode (server or client) the code is always waiting at the waitmessage point in the pumpmessage function
//sockcore.cpp, PumpMessage function
else
{
// no work to do -- allow CPU to sleep
WaitMessage(); //STOPS HERE
bPeek = TRUE;
}

The pumpMessage function is called when a non blocking socket is going to block.

I've read a few articles about the pumpmessage function causing a freeze but they all say its for older versions (im using vs 2005).
http://support.microsoft.com/kb/154649

Has anybody else had this problem or does anyone know a solution?

Your help would be greatly appreciated, as I am currently pulling my hair out over this and getting no where.

Tom Hogarth
AnswerRe: CSocket stoping in PumpMessage (please help) Pin
Matthew Faithfull20-Jun-07 2:53
Matthew Faithfull20-Jun-07 2:53 
AnswerRe: CSocket stoping in PumpMessage (please help) Pin
Mike Dimmick20-Jun-07 3:44
Mike Dimmick20-Jun-07 3:44 
AnswerRe: CSocket stoping in PumpMessage (please help) Pin
Roger Stoltz20-Jun-07 4:29
Roger Stoltz20-Jun-07 4:29 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
led mike20-Jun-07 5:28
led mike20-Jun-07 5:28 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
Roger Stoltz20-Jun-07 6:21
Roger Stoltz20-Jun-07 6:21 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
led mike20-Jun-07 6:32
led mike20-Jun-07 6:32 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
Roger Stoltz20-Jun-07 6:57
Roger Stoltz20-Jun-07 6:57 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
led mike20-Jun-07 8:43
led mike20-Jun-07 8:43 
AnswerRe: CSocket stoping in PumpMessage (please help) Pin
tomitron20-Jun-07 5:44
tomitron20-Jun-07 5:44 
AnswerRe: CSocket stoping in PumpMessage (please help) Pin
tomitron21-Jun-07 1:38
tomitron21-Jun-07 1:38 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
tomitron21-Jun-07 1:41
tomitron21-Jun-07 1:41 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
Roger Stoltz21-Jun-07 3:38
Roger Stoltz21-Jun-07 3:38 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
tomitron21-Jun-07 5:33
tomitron21-Jun-07 5:33 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
Roger Stoltz22-Jun-07 1:05
Roger Stoltz22-Jun-07 1:05 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
Mike O'Neill6-Jul-07 14:07
Mike O'Neill6-Jul-07 14:07 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
tomitron6-Jul-07 14:52
tomitron6-Jul-07 14:52 
QuestionProblem with Xp Styles Pin
TobetheWinner20-Jun-07 1:55
TobetheWinner20-Jun-07 1:55 

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.