Click here to Skip to main content
16,005,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMemory leak detection tool Pin
Øyvind Bratland31-Aug-00 22:16
sussØyvind Bratland31-Aug-00 22:16 
GeneralRe: Memory leak detection tool Pin
Alex Gorev1-Sep-00 5:35
Alex Gorev1-Sep-00 5:35 
GeneralRe: Memory leak detection tool Pin
roger C1-Sep-00 10:34
roger C1-Sep-00 10:34 
GeneralRe: Memory leak detection tool Pin
Michael Dunn1-Sep-00 14:16
sitebuilderMichael Dunn1-Sep-00 14:16 
QuestionHow to debug in release mode Pin
tomer dror31-Aug-00 21:25
tomer dror31-Aug-00 21:25 
AnswerRe: How to debug in release mode Pin
Tim Deveaux1-Sep-00 8:52
Tim Deveaux1-Sep-00 8:52 
AnswerRe: How to debug in release mode Pin
Michael Dunn1-Sep-00 14:18
sitebuilderMichael Dunn1-Sep-00 14:18 
GeneralCapture Packet Pin
jan31-Aug-00 17:09
jan31-Aug-00 17:09 
Hi
I am in a project where i have
to capture a realtime network packet, analyse it and display it to the GUI.
I am using MFC for GUI.I have a special driver insatalled which captures the data
flowing on the network.I am able to trap , analyse and display the data,but i loose
packets as packets are comming at very fast rate. I am using two threads , one gives a
DeviceIO control to the driver to get the packet and writes to a buffer(This is in a while loop).
Another Thread reads from the buffer and displays it to a MFC dialog.
What i suspect is that,when the first thread in which i give DeviceIo Control is preemted ,
it loses packets(I mean to say that i need to give DeviceIo ctrl continuosly to get each and every
packet at the same time reader thread should consumes the written packet as soon as possible).
Both thread uses comman resource(Buffer where packets are stored).
I am not using UI Thread concept.I am creating thread by calling CreateThread API.
Can UI threads be used for concepts like this , if yes will they solve my problem
of losing packets.
Your responce will be very useful to me.

Thanks
Jan
GeneralRe: Capture Packet Pin
xcrypto4-Sep-00 9:05
sussxcrypto4-Sep-00 9:05 
GeneralRe: Capture Packet Pin
jan4-Sep-00 15:48
jan4-Sep-00 15:48 
GeneralA Timeline Editor Pin
James Corrie31-Aug-00 14:06
sussJames Corrie31-Aug-00 14:06 
GeneralDebugging Automation Servers Pin
Steve McCray31-Aug-00 12:15
Steve McCray31-Aug-00 12:15 
GeneralRe: Debugging Automation Servers Pin
Tim Deveaux1-Sep-00 9:31
Tim Deveaux1-Sep-00 9:31 
QuestionHow to change button size on Title bar? Pin
leo31-Aug-00 12:06
leo31-Aug-00 12:06 
AnswerRe: How to change button size on Title bar? Pin
Erik Funkenbusch31-Aug-00 12:12
Erik Funkenbusch31-Aug-00 12:12 
Generaltext files Pin
antonio salomone31-Aug-00 10:37
antonio salomone31-Aug-00 10:37 
GeneralRe: text files Pin
Alex Gorev31-Aug-00 10:45
Alex Gorev31-Aug-00 10:45 
GeneralRe: text files Pin
Paolo Messina1-Sep-00 4:39
professionalPaolo Messina1-Sep-00 4:39 
GeneralDrawing on a dialog Pin
Roger31-Aug-00 9:45
Roger31-Aug-00 9:45 
GeneralRe: Drawing on a dialog Pin
Alex Gorev31-Aug-00 10:37
Alex Gorev31-Aug-00 10:37 
GeneralRe: Drawing on a dialog Pin
Roger1-Sep-00 1:51
Roger1-Sep-00 1:51 
GeneralRe: Drawing on a dialog Pin
lauren5-Sep-00 4:43
lauren5-Sep-00 4:43 
Questionhow can I draw large Images in WIN 95? Pin
Dima31-Aug-00 5:05
Dima31-Aug-00 5:05 
AnswerRe: how can I draw large Images in WIN 95? Pin
Steven Mitcham31-Aug-00 5:55
Steven Mitcham31-Aug-00 5:55 
AnswerRe: how can I draw large Images in WIN 95? Pin
Erik Funkenbusch31-Aug-00 12:16
Erik Funkenbusch31-Aug-00 12:16 

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.