Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Virtual Functions? Pin
msr_codeproject17-Feb-12 2:29
msr_codeproject17-Feb-12 2:29 
GeneralRe: Virtual Functions? Pin
CPallini17-Feb-12 2:42
mveCPallini17-Feb-12 2:42 
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 
Andrew Pearson wrote:
the parity bit might not always be set in the UART before I write out the data.
Very likely. The timing of access to UART control registers has ALWAYS been a horror.* Remember that there's a FIFO buffering your tx data.

Suggestion: Unless you're using 8 data bits + parity, you can do it yourself. Just use 'n+1' data length and set/unset an appropriate high order bit.

* Since the original WD1402 in 1972 or thereabouts. The 8250 and its 16xxx successors (as used in PCs) are not much better. You might get the wrong effect, but at least they don't hang if you write to them at the "wrong" time. Frown | :( Poke tongue | ;-P


Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994.

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 
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 

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.