Click here to Skip to main content
16,011,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWay to Prevent memeory leak? Pin
nachilau28-Jun-04 20:29
nachilau28-Jun-04 20:29 
AnswerRe: Way to Prevent memeory leak? Pin
User 58385228-Jun-04 20:43
User 58385228-Jun-04 20:43 
GeneralRe: Way to Prevent memeory leak? Pin
nachilau28-Jun-04 21:09
nachilau28-Jun-04 21:09 
GeneralRe: Way to Prevent memeory leak? Pin
User 58385228-Jun-04 21:34
User 58385228-Jun-04 21:34 
AnswerRe: Way to Prevent memeory leak? Pin
wb28-Jun-04 21:42
wb28-Jun-04 21:42 
GeneralRe: Way to Prevent memeory leak? Pin
nachilau28-Jun-04 21:51
nachilau28-Jun-04 21:51 
GeneralRe: Way to Prevent memeory leak? Pin
wb28-Jun-04 22:05
wb28-Jun-04 22:05 
GeneralSerial Communication in WIN CE Pin
Chinnaa Ganesh Kumar28-Jun-04 20:07
Chinnaa Ganesh Kumar28-Jun-04 20:07 
Hi,

I am in the development of implementing the read/write operation in the WIN CE environment through COM Port

I used the following code ...

//==============================================================

gCommHandle = CreateFile(L"COM1:",
GENERIC_READ|GENERIC_WRITE,
0,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL,
NULL);

bWrite = WriteFile(gCommHandle, "Test Msg", 8, &dwWrite, NULL);

//==============================================================


I could able to get the gCommHandle and the Writefile function also return TRUE after execution

But nothing is getting written in the COM Port...(I observed this by the serial port monitoring tool)

How can we perform read/write operation in COM port in WIN CE OS. Can some one help me in this regard.


Thanks in advance,

~Chinna




Hard Work Never Fails
Generalstd::queue and Managed class Pin
Vadim Tabakman28-Jun-04 19:54
Vadim Tabakman28-Jun-04 19:54 
GeneralRe: std::queue and Managed class Pin
Nemanja Trifunovic29-Jun-04 7:23
Nemanja Trifunovic29-Jun-04 7:23 
GeneralRe: std::queue and Managed class Pin
Vadim Tabakman29-Jun-04 13:36
Vadim Tabakman29-Jun-04 13:36 
GeneralQuestion on prefix and post fix Pin
rohit.dhamija28-Jun-04 19:49
rohit.dhamija28-Jun-04 19:49 
GeneralRe: Question on prefix and post fix Pin
PJ Arends28-Jun-04 19:57
professionalPJ Arends28-Jun-04 19:57 
GeneralRe: Question on prefix and post fix Pin
Ian Darling29-Jun-04 2:57
Ian Darling29-Jun-04 2:57 
GeneralRe: Question on prefix and post fix Pin
Vadim Tabakman28-Jun-04 19:58
Vadim Tabakman28-Jun-04 19:58 
GeneralRe: Question on prefix and post fix Pin
rohit.dhamija28-Jun-04 20:14
rohit.dhamija28-Jun-04 20:14 
GeneralRe: Question on prefix and post fix Pin
Vadim Tabakman28-Jun-04 20:28
Vadim Tabakman28-Jun-04 20:28 
GeneralSOAP 3.0 Question Pin
NeoHobbit28-Jun-04 19:28
NeoHobbit28-Jun-04 19:28 
GeneralZoom In and Zoom Out Pin
aparajita28-Jun-04 19:28
aparajita28-Jun-04 19:28 
GeneralRe: Zoom In and Zoom Out Pin
PJ Arends28-Jun-04 19:59
professionalPJ Arends28-Jun-04 19:59 
GeneralRe: Zoom In and Zoom Out Pin
Vadim Tabakman28-Jun-04 20:03
Vadim Tabakman28-Jun-04 20:03 
GeneralA question to COM gurus Pin
Anonymous28-Jun-04 19:28
Anonymous28-Jun-04 19:28 
QuestionHow to Set a Directory path for PATH environment variable Pin
pubududilena28-Jun-04 19:22
pubududilena28-Jun-04 19:22 
AnswerRe: How to Set a Directory path for PATH environment variable Pin
palbano28-Jun-04 19:30
palbano28-Jun-04 19:30 
GeneralRe: How to Set a Directory path for PATH environment variable Pin
pubududilena28-Jun-04 19:38
pubududilena28-Jun-04 19:38 

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.