DCB

new topic     » topic index » view thread      » older message » newer message

Hi!
        I tryed use the comm DCB (decice control block)

--GetCommState result:
 1C 0 0 0                               --DCBlength
 B0 4 0 0                       --BaudRate
 11 30 0 0 0 0 FF FF FF FF              -----------??
 8                              --ByteSize   --offset = 19
 0                              --Parity
 0                              --StopBits
 11                             --XonChar
 13                             --XoffChar
 0 0 0 0 0                      -----------??

--(DCB is in GetCommConfigs result the same.)

--in WIN32.HLP (11 279 097 byte):
the DCB structure 78 byte (+reserved word), and ByteSize offset = 70.

If I built this DCB and I used SetCommConfig, the result was 0.
If I used the #1C length DCB the result  was 1.

If someone knows what is wrong, please tell me.

Thanks
Attila Kondor

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu