Click here to Skip to main content
16,009,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: Question about CString Pin
toxcct5-Oct-05 4:51
toxcct5-Oct-05 4:51 
AnswerRe: Question about CString Pin
Bob Stanneveld5-Oct-05 6:15
Bob Stanneveld5-Oct-05 6:15 
GeneralRe: Question about CString Pin
LaHaHa5-Oct-05 12:21
LaHaHa5-Oct-05 12:21 
GeneralRe: Question about CString Pin
Roger Stoltz5-Oct-05 21:04
Roger Stoltz5-Oct-05 21:04 
GeneralRe: Question about CString Pin
LaHaHa5-Oct-05 22:54
LaHaHa5-Oct-05 22:54 
GeneralRe: Question about CString Pin
Roger Stoltz5-Oct-05 23:32
Roger Stoltz5-Oct-05 23:32 
GeneralRe: Question about CString Pin
LaHaHa6-Oct-05 1:01
LaHaHa6-Oct-05 1:01 
GeneralRe: Question about CString Pin
Roger Stoltz6-Oct-05 1:26
Roger Stoltz6-Oct-05 1:26 
You need to change the mode of the MsCommCtrl from text to binary.
Also be careful when calling GetInput how the VARIANT union should be interpreted. I suspect that the binary data will be a SafeArray.

I always write my own serial port handler since I consider the MsCommCtrl to be slow, to limiting and not very well documented to say the least.
E.g. you can have COM ports from COM1 to COM255 in the OS, but MsCommCtrl can only handle COM1 to COM16. Connect som devices such as a mobile phone, BlueTooth dongle and you easily get more than 15 ports.

Hope this helps
--
Roger


GeneralRe: Question about CString Pin
LaHaHa6-Oct-05 16:17
LaHaHa6-Oct-05 16:17 
QuestionException 0xE06D7363 Problem? Pin
bosfan5-Oct-05 4:26
bosfan5-Oct-05 4:26 
AnswerRe: Exception 0xE06D7363 Problem? Pin
Bob Stanneveld5-Oct-05 6:17
Bob Stanneveld5-Oct-05 6:17 
GeneralRe: Exception 0xE06D7363 Problem? Pin
bosfan5-Oct-05 21:17
bosfan5-Oct-05 21:17 
QuestionGerman Umlaute in .tlh File Pin
MarcoNedwig5-Oct-05 3:40
MarcoNedwig5-Oct-05 3:40 
QuestionEditing Standard/Object Libraries... Pin
Milby0075-Oct-05 3:13
Milby0075-Oct-05 3:13 
AnswerRe: Editing Standard/Object Libraries... Pin
Bartosz Bien5-Oct-05 3:24
Bartosz Bien5-Oct-05 3:24 
GeneralRe: Editing Standard/Object Libraries... Pin
Milby00711-Oct-05 0:04
Milby00711-Oct-05 0:04 
GeneralRe: Editing Standard/Object Libraries... Pin
Bartosz Bien12-Oct-05 9:48
Bartosz Bien12-Oct-05 9:48 
GeneralRe: Editing Standard/Object Libraries... Pin
Milby00718-Oct-05 12:02
Milby00718-Oct-05 12:02 
Questionconversion from ini to xml Pin
swaapu5-Oct-05 3:04
swaapu5-Oct-05 3:04 
Questionconversion from ini to xml Pin
swaapu5-Oct-05 3:04
swaapu5-Oct-05 3:04 
AnswerRe: conversion from ini to xml Pin
vikas amin5-Oct-05 3:22
vikas amin5-Oct-05 3:22 
GeneralRe: conversion from ini to xml Pin
toxcct5-Oct-05 4:48
toxcct5-Oct-05 4:48 
GeneralRe: conversion from ini to xml Pin
Rage5-Oct-05 5:57
professionalRage5-Oct-05 5:57 
JokeRe: conversion from ini to xml Pin
toxcct5-Oct-05 6:09
toxcct5-Oct-05 6:09 
QuestionRe: conversion from ini to xml Pin
David Crow5-Oct-05 6:42
David Crow5-Oct-05 6:42 

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.