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

C / C++ / MFC

 
AnswerRe: writing DWORD to serial port Pin
l_d22-Feb-07 21:45
l_d22-Feb-07 21:45 
AnswerRe: writing DWORD to serial port [modified] Pin
prasad_som22-Feb-07 21:52
prasad_som22-Feb-07 21:52 
GeneralRe: writing DWORD to serial port Pin
Cedric Moonen22-Feb-07 22:12
Cedric Moonen22-Feb-07 22:12 
GeneralRe: writing DWORD to serial port Pin
l_d22-Feb-07 22:21
l_d22-Feb-07 22:21 
GeneralRe: writing DWORD to serial port Pin
Cedric Moonen22-Feb-07 22:28
Cedric Moonen22-Feb-07 22:28 
GeneralRe: writing DWORD to serial port Pin
prasad_som22-Feb-07 22:23
prasad_som22-Feb-07 22:23 
GeneralRe: writing DWORD to serial port Pin
Cedric Moonen22-Feb-07 22:27
Cedric Moonen22-Feb-07 22:27 
AnswerRe: writing DWORD to serial port Pin
Cedric Moonen22-Feb-07 20:21
Cedric Moonen22-Feb-07 20:21 
To write data to a serial port, you provide tha address of a buffer and the size of data to transmit. So if you want to send your DWORD, you simply need to do this:

DWORD dwMydata = 61118792;
WriteFile(...., &dwMyData, sizeof(DWORD), ....);  // Replace ... by what you need.



Cédric Moonen
Software developer

Charting control [v1.1]

Questionmerge sort Pin
meet_kirankumar22-Feb-07 19:26
meet_kirankumar22-Feb-07 19:26 
QuestionRe: merge sort Pin
prasad_som22-Feb-07 19:34
prasad_som22-Feb-07 19:34 
AnswerRe: merge sort Pin
Nibu babu thomas22-Feb-07 19:38
Nibu babu thomas22-Feb-07 19:38 
Questionchange of CStatic control background color. How ? Pin
sakthimuthu22-Feb-07 19:02
sakthimuthu22-Feb-07 19:02 
AnswerRe: change of CStatic control background color. How ? Pin
prasad_som22-Feb-07 19:07
prasad_som22-Feb-07 19:07 
GeneralRe: change of CStatic control background color. How ? Pin
sakthimuthu22-Feb-07 19:19
sakthimuthu22-Feb-07 19:19 
AnswerRe: change of CStatic control background color. How ? Pin
prasad_som22-Feb-07 19:27
prasad_som22-Feb-07 19:27 
GeneralRe: change of CStatic control background color. How ? Pin
sakthimuthu22-Feb-07 19:32
sakthimuthu22-Feb-07 19:32 
QuestionVC++ Pin
Rocky Oswal22-Feb-07 18:56
Rocky Oswal22-Feb-07 18:56 
AnswerRe: VC++ Pin
C Mahesh22-Feb-07 19:03
C Mahesh22-Feb-07 19:03 
QuestionProblem in dialog box scrolling [modified] Pin
C Mahesh22-Feb-07 17:58
C Mahesh22-Feb-07 17:58 
AnswerRe: Problem in dialog box scrolling Pin
MuraliKrishnaP22-Feb-07 20:41
MuraliKrishnaP22-Feb-07 20:41 
QuestionTimer configuration in VC++ Pin
shriram_ch22-Feb-07 16:53
shriram_ch22-Feb-07 16:53 
AnswerRe: Timer configuration in VC++ Pin
ThatsAlok22-Feb-07 17:33
ThatsAlok22-Feb-07 17:33 
GeneralRe: Timer configuration in VC++ Pin
#realJSOP22-Feb-07 23:34
professional#realJSOP22-Feb-07 23:34 
AnswerRe: Timer configuration in VC++ Pin
#realJSOP22-Feb-07 23:44
professional#realJSOP22-Feb-07 23:44 
AnswerRe: Timer configuration in VC++ Pin
cmk23-Feb-07 5:47
cmk23-Feb-07 5:47 

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.