Click here to Skip to main content
15,917,652 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: protocols designing in vc++6.0 for OSI model Help!! Pin
aka the guy16-Aug-03 14:32
aka the guy16-Aug-03 14:32 
Generaldisplaying tabs using CTabCtrl Pin
flight_master16-Aug-03 3:51
flight_master16-Aug-03 3:51 
GeneralMario Bros Pin
The_Server16-Aug-03 3:31
The_Server16-Aug-03 3:31 
GeneralRe: Mario Bros Pin
Snyp16-Aug-03 6:02
Snyp16-Aug-03 6:02 
GeneralRe: Mario Bros Pin
John R. Shaw16-Aug-03 9:33
John R. Shaw16-Aug-03 9:33 
GeneralRe: Mario Bros Pin
parths17-Aug-03 17:25
parths17-Aug-03 17:25 
GeneralCSocket OnReceive Pin
prabagarm16-Aug-03 2:41
prabagarm16-Aug-03 2:41 
GeneralRe: CSocket OnReceive Pin
pxw16-Aug-03 11:37
pxw16-Aug-03 11:37 
It will probably involve setting up the kernal debugger since it is most likely a driver function.

Be warned that it will consume consierable time. You have to wait for it to fail, then break into the program to "see" the conditions present at the time on the loss of communications. Next see if it is repeatable. It will be easier if the problem is repeatable, look through the data being transferred and fin the data that will be transferred just prior to the "bad" condition. set a breakpoint for that condition and single step through the next series untl you find the problem (its not a lot of fun).

It it isn't repeatable, you have to look for similarities in the conditions that exist at the occurrance of each "bad" condition. the identification of the similarity may lead you to a solution, but most likely you will have to devise some sort of break condition that fortells the "bad" condidition, allowing you to step through. this could literally take days.

What I have found is a "race" condition that exists between the time the data is reported as being reay for the receive buffer and the actual data being ready, so when you go to read the buffer you actually get one or two bytes less thean what was reported as being ready, leaving the reporting mechanism in some sort of unknow condition. It thinks it has reported the condition to you and you haven't responded and won't notify again until you have correctly responded to the prior message. It could be caused by some anomoly in the actual data or some mishap in the driver, but it is annoying.
QuestionHow to convert from .DOC to .PDF, please help me .......... Pin
Atif Bashir16-Aug-03 1:43
Atif Bashir16-Aug-03 1:43 
AnswerRe: How to convert from .DOC to .PDF, please help me .......... Pin
pxw16-Aug-03 10:48
pxw16-Aug-03 10:48 
GeneralDocument/View question Pin
7stud16-Aug-03 0:21
7stud16-Aug-03 0:21 
GeneralRe: Document/View question Pin
ColinDavies16-Aug-03 3:44
ColinDavies16-Aug-03 3:44 
GeneralRe: Document/View question Pin
Ravi Bhavnani16-Aug-03 7:09
professionalRavi Bhavnani16-Aug-03 7:09 
GeneralRe: Document/View question Pin
7stud16-Aug-03 8:51
7stud16-Aug-03 8:51 
GeneralRe: Document/View question Pin
John R. Shaw16-Aug-03 10:05
John R. Shaw16-Aug-03 10:05 
GeneralRe: Document/View question Pin
7stud16-Aug-03 20:19
7stud16-Aug-03 20:19 
GeneralRe: Document/View question Pin
Bob Stanneveld17-Aug-03 5:15
Bob Stanneveld17-Aug-03 5:15 
Generalhooking Pin
kafchan200316-Aug-03 0:19
kafchan200316-Aug-03 0:19 
GeneralRe: hooking Pin
Alexander M.,16-Aug-03 14:47
Alexander M.,16-Aug-03 14:47 
GeneralRe: hooking Pin
kafchan200318-Aug-03 0:27
kafchan200318-Aug-03 0:27 
Generalvectors. Pin
WREY15-Aug-03 23:30
WREY15-Aug-03 23:30 
GeneralRe: vectors. Pin
Neville Franks15-Aug-03 23:42
Neville Franks15-Aug-03 23:42 
GeneralRe: vectors. Pin
Anonymous16-Aug-03 4:30
Anonymous16-Aug-03 4:30 
GeneralRe: vectors. Pin
markkuk16-Aug-03 6:29
markkuk16-Aug-03 6:29 
GeneralRe: vectors. Pin
ZoogieZork16-Aug-03 6:32
ZoogieZork16-Aug-03 6:32 

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.