Click here to Skip to main content
15,901,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Virtual Functions? Pin
David Crow17-Feb-12 2:40
David Crow17-Feb-12 2:40 
AnswerRe: Virtual Functions? PinPopular
Chuck O'Toole17-Feb-12 3:08
Chuck O'Toole17-Feb-12 3:08 
AnswerRe: Virtual Functions? Pin
jschell17-Feb-12 7:10
jschell17-Feb-12 7:10 
AnswerRe: Virtual Functions? Pin
JackDingler17-Feb-12 10:31
JackDingler17-Feb-12 10:31 
QuestionSetting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Andrew Pearson16-Feb-12 14:43
Andrew Pearson16-Feb-12 14:43 
AnswerRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Peter_in_278016-Feb-12 14:52
professionalPeter_in_278016-Feb-12 14:52 
GeneralRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Andrew Pearson16-Feb-12 15:25
Andrew Pearson16-Feb-12 15:25 
GeneralRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Peter_in_278016-Feb-12 15:42
professionalPeter_in_278016-Feb-12 15:42 
GeneralRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Andrew Pearson16-Feb-12 17:57
Andrew Pearson16-Feb-12 17:57 
GeneralRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Erudite_Eric16-Feb-12 20:28
Erudite_Eric16-Feb-12 20:28 
GeneralRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Jochen Arndt16-Feb-12 23:20
professionalJochen Arndt16-Feb-12 23:20 
GeneralRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Erudite_Eric17-Feb-12 6:10
Erudite_Eric17-Feb-12 6:10 
GeneralRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Andrew Pearson17-Feb-12 21:13
Andrew Pearson17-Feb-12 21:13 
SuggestionRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Jochen Arndt17-Feb-12 22:58
professionalJochen Arndt17-Feb-12 22:58 
GeneralRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Andrew Pearson21-Feb-12 13:04
Andrew Pearson21-Feb-12 13:04 
GeneralRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Jochen Arndt21-Feb-12 21:46
professionalJochen Arndt21-Feb-12 21:46 
You are right. The event is signaled when the last data byte has been copied from the TX buffer (transmitter holding register) to the transmit line register. What you need is the transmitter holding register and transmitter line register empty status. This is indicated by bit 6 of the line status register. Unfortunately, this event is not supported by the Windows SDK.

If you can live with a wait function, you may use the EV_TXEMPTY event and wait until the data byte has been trasnmitted (start + parity + data + stop) / baud. Because transmission is done by the UART hardware, the time is constant .
GeneralRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Andrew Pearson22-Feb-12 11:35
Andrew Pearson22-Feb-12 11:35 
AnswerRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Erudite_Eric16-Feb-12 20:20
Erudite_Eric16-Feb-12 20:20 
GeneralRe: Setting Parity Bit (serial port) not working. Q for the driver guru's. Pin
Andrew Pearson17-Feb-12 21:30
Andrew Pearson17-Feb-12 21:30 
QuestionProblem with qsort() on CArray(ptr *, ptr *) Pin
john john mackey16-Feb-12 14:41
john john mackey16-Feb-12 14:41 
AnswerRe: Problem with qsort() on CArray(ptr *, ptr *) Pin
Richard Andrew x6416-Feb-12 16:09
professionalRichard Andrew x6416-Feb-12 16:09 
GeneralRe: Problem with qsort() on CArray(ptr *, ptr *) Pin
john john mackey16-Feb-12 19:38
john john mackey16-Feb-12 19:38 
AnswerRe: Problem with qsort() on CArray(ptr *, ptr *) Pin
Chuck O'Toole16-Feb-12 17:29
Chuck O'Toole16-Feb-12 17:29 
AnswerRe: Problem with qsort() on CArray(ptr *, ptr *) Pin
Chuck O'Toole16-Feb-12 17:32
Chuck O'Toole16-Feb-12 17:32 
GeneralRe: Problem with qsort() on CArray(ptr *, ptr *) Pin
john john mackey16-Feb-12 19:44
john john mackey16-Feb-12 19:44 

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.