Click here to Skip to main content
15,890,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to write string values in .csv file Pin
MsmVc8-Dec-08 20:40
MsmVc8-Dec-08 20:40 
AnswerRe: How to write string values in .csv file Pin
Cedric Moonen8-Dec-08 20:51
Cedric Moonen8-Dec-08 20:51 
AnswerRe: How to write string values in .csv file Pin
SandipG 8-Dec-08 20:52
SandipG 8-Dec-08 20:52 
GeneralRe: How to write string values in .csv file Pin
MsmVc8-Dec-08 21:10
MsmVc8-Dec-08 21:10 
QuestionRe: How to write string values in .csv file Pin
Rajesh R Subramanian8-Dec-08 21:01
professionalRajesh R Subramanian8-Dec-08 21:01 
QuestionWindows Installer for a C++/MFC application Pin
Puneet Kulkarni8-Dec-08 19:46
Puneet Kulkarni8-Dec-08 19:46 
QuestionWhy do some combinations of port settings fail ? Pin
kapardhi8-Dec-08 19:34
kapardhi8-Dec-08 19:34 
AnswerRe: Why do some combinations of port settings fail ? Pin
Roger Stoltz8-Dec-08 21:43
Roger Stoltz8-Dec-08 21:43 
kapardhi wrote:
But some cobinations fail, the error message is "The parameter is incorrect", Why is it so?


Do you begin with reading the current setup with a call to ::GetCommState()?
If not, you should in order to get your DCB struct correctly initialized. Afterwards you can easily alter the settings you need to and then call ::SetCommState().

[edit]

However, MSDN also states that:
The use of 5 data bits with 2 stop bits is an invalid combination, as is 6, 7, or 8 data bits with 1.5 stop bits.

[/edit]


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


QuestionSafe way to initialize LARGE_INTEGER with int ? PinPopular
Defenestration8-Dec-08 18:42
Defenestration8-Dec-08 18:42 
Questionconnect to MS Excel database on windows XP from winCE device Pin
parthsarathy8-Dec-08 18:01
parthsarathy8-Dec-08 18:01 
QuestionDo you put :: in front of every Windows API call ? Pin
Defenestration8-Dec-08 17:42
Defenestration8-Dec-08 17:42 
AnswerRe: Do you put :: in front of every Windows API call ? Pin
_AnsHUMAN_ 8-Dec-08 18:15
_AnsHUMAN_ 8-Dec-08 18:15 
GeneralRe: Do you put :: in front of every Windows API call ? Pin
Defenestration8-Dec-08 18:31
Defenestration8-Dec-08 18:31 
GeneralRe: Do you put :: in front of every Windows API call ? Pin
_AnsHUMAN_ 8-Dec-08 18:38
_AnsHUMAN_ 8-Dec-08 18:38 
GeneralRe: Do you put :: in front of every Windows API call ? Pin
Defenestration8-Dec-08 18:46
Defenestration8-Dec-08 18:46 
GeneralRe: Do you put :: in front of every Windows API call ? Pin
_AnsHUMAN_ 8-Dec-08 18:53
_AnsHUMAN_ 8-Dec-08 18:53 
AnswerRe: Do you put :: in front of every Windows API call ? [modified] Pin
Defenestration8-Dec-08 19:06
Defenestration8-Dec-08 19:06 
GeneralRe: Do you put :: in front of every Windows API call ? Pin
Rajesh R Subramanian8-Dec-08 20:27
professionalRajesh R Subramanian8-Dec-08 20:27 
AnswerRe: Do you put :: in front of every Windows API call ? Pin
Roger Stoltz8-Dec-08 21:29
Roger Stoltz8-Dec-08 21:29 
GeneralRe: Do you put :: in front of every Windows API call ? Pin
Defenestration8-Dec-08 22:22
Defenestration8-Dec-08 22:22 
AnswerRe: Do you put :: in front of every Windows API call ? Pin
Roger Stoltz8-Dec-08 22:34
Roger Stoltz8-Dec-08 22:34 
GeneralRe: Do you put :: in front of every Windows API call ? Pin
Defenestration8-Dec-08 22:39
Defenestration8-Dec-08 22:39 
AnswerRe: Do you put :: in front of every Windows API call ? Pin
Roger Stoltz8-Dec-08 22:44
Roger Stoltz8-Dec-08 22:44 
AnswerRe: Do you put :: in front of every Windows API call ? [modified] Pin
Defenestration8-Dec-08 22:53
Defenestration8-Dec-08 22:53 
AnswerRe: Do you put :: in front of every Windows API call ? Pin
Snorri Kristjansson8-Dec-08 22:21
professionalSnorri Kristjansson8-Dec-08 22:21 

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.