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

C / C++ / MFC

 
GeneralRe: VC++6 InitInstance strange thing? Pin
Joan M30-Dec-06 8:33
professionalJoan M30-Dec-06 8:33 
QuestionImage compression? Pin
Dave Calkins29-Dec-06 9:27
Dave Calkins29-Dec-06 9:27 
AnswerRe: Image compression? Pin
Dave Calkins29-Dec-06 9:30
Dave Calkins29-Dec-06 9:30 
GeneralRe: Image compression? (not a real answer) Pin
Joan M29-Dec-06 10:02
professionalJoan M29-Dec-06 10:02 
AnswerRe: Image compression? Pin
Michael Dunn29-Dec-06 9:52
sitebuilderMichael Dunn29-Dec-06 9:52 
GeneralRe: Image compression? Pin
Dave Calkins29-Dec-06 10:29
Dave Calkins29-Dec-06 10:29 
AnswerRe: Image compression? Pin
Mark Salsbery30-Dec-06 8:11
Mark Salsbery30-Dec-06 8:11 
QuestionObscure Serial Port question Pin
Joe Woodbury29-Dec-06 8:24
professionalJoe Woodbury29-Dec-06 8:24 
I'm writing a serial port class. My team lead said that when using simple, non-overlapped I/O on Windows 2000, they found that doing 1 and 2 byte reads caused a significant peak in CPU utilization. (All our packets are read with a 1 byte, then either a 1 or 2 byte read then a lengthy read.) Do reduce this, they double buffered the reads.

I converted the class to use basic OVERLAPPED I/O. I wrote 2 versions of the class; one uses straight reads, the other reads the data in chunks and queues it up for the reader.

When testing both, I found that the process utilization was the same on average. Does anyone know if OVERLAPPED I/O is already buffering serial port reads? (Do serial port reads even make a ring transition at the driver level? Did this possibly change between Windows 2000 and Windows XP?)

Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke

QuestionHow to detect double-click on desktop window? Pin
PatrykDabrowski29-Dec-06 8:08
PatrykDabrowski29-Dec-06 8:08 
QuestionRe: How to detect double-click on desktop window? Pin
David Crow29-Dec-06 8:34
David Crow29-Dec-06 8:34 
QuestionRe: How to detect double-click on desktop window? Pin
PatrykDabrowski29-Dec-06 9:27
PatrykDabrowski29-Dec-06 9:27 
AnswerRe: How to detect double-click on desktop window? Pin
Cristian Amarie29-Dec-06 23:06
Cristian Amarie29-Dec-06 23:06 
QuestionMessage Removed Pin
29-Dec-06 7:59
Armond Sarkisian29-Dec-06 7:59 
AnswerRe: Beginner Question -- Please help Pin
David Crow29-Dec-06 8:04
David Crow29-Dec-06 8:04 
GeneralMessage Removed Pin
29-Dec-06 8:51
Armond Sarkisian29-Dec-06 8:51 
GeneralRe: Beginner Question -- Please help Pin
David Crow29-Dec-06 8:57
David Crow29-Dec-06 8:57 
AnswerRe: Beginner Question -- Please help Pin
Hamid_RT29-Dec-06 17:14
Hamid_RT29-Dec-06 17:14 
QuestionVC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M29-Dec-06 6:44
professionalJoan M29-Dec-06 6:44 
AnswerRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
CPallini29-Dec-06 7:00
mveCPallini29-Dec-06 7:00 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M29-Dec-06 7:04
professionalJoan M29-Dec-06 7:04 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
CPallini29-Dec-06 7:18
mveCPallini29-Dec-06 7:18 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M29-Dec-06 7:29
professionalJoan M29-Dec-06 7:29 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
CPallini29-Dec-06 8:18
mveCPallini29-Dec-06 8:18 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
Joan M29-Dec-06 9:20
professionalJoan M29-Dec-06 9:20 
GeneralRe: VC++6 : MFC and dialog based app: how can I ensure that a dialog destructor will be called? Pin
David Crow29-Dec-06 7:55
David Crow29-Dec-06 7: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.