Click here to Skip to main content
15,908,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Query regarding ListBox Pin
Hamid_RT15-Apr-08 2:24
Hamid_RT15-Apr-08 2:24 
GeneralC++ new dynamic allocation of memory problem Pin
Member 336349814-Apr-08 2:28
Member 336349814-Apr-08 2:28 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Cedric Moonen14-Apr-08 2:31
Cedric Moonen14-Apr-08 2:31 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Member 336349814-Apr-08 2:39
Member 336349814-Apr-08 2:39 
GeneralRe: C++ new dynamic allocation of memory problem [modified] Pin
JudyL_MD14-Apr-08 4:18
JudyL_MD14-Apr-08 4:18 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Matthew Faithfull14-Apr-08 2:57
Matthew Faithfull14-Apr-08 2:57 
AnswerRe: C++ new dynamic allocation of memory problem Pin
James R. Twine14-Apr-08 3:03
James R. Twine14-Apr-08 3:03 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Joe Woodbury14-Apr-08 6:57
professionalJoe Woodbury14-Apr-08 6:57 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Stephen Hewitt14-Apr-08 15:27
Stephen Hewitt14-Apr-08 15:27 
QuestionSerial communication Pin
FPeeters14-Apr-08 1:05
FPeeters14-Apr-08 1:05 
GeneralRe: Serial communication Pin
Cedric Moonen14-Apr-08 1:16
Cedric Moonen14-Apr-08 1:16 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 1:38
FPeeters14-Apr-08 1:38 
QuestionRe: Serial communication Pin
CPallini14-Apr-08 2:11
mveCPallini14-Apr-08 2:11 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 2:18
FPeeters14-Apr-08 2:18 
GeneralRe: Serial communication Pin
Cedric Moonen14-Apr-08 2:22
Cedric Moonen14-Apr-08 2:22 
FPeeters wrote:
if I try to create a handle to an open COM port, C++ generates an errorcode


What do you mean with that ?
In fact, if you are trying to open a port which is already opened, the CreateFile function will return an invalid handle (check the documentation of this function). So, before trying to read on the port, you should verify that your handle is valid (handle != INVALID_HANDLE_VALUE).

Cédric Moonen
Software developer

Charting control [v1.3]

GeneralRe: Serial communication Pin
FPeeters14-Apr-08 2:33
FPeeters14-Apr-08 2:33 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 4:19
FPeeters14-Apr-08 4:19 
GeneralRe: Serial communication Pin
CPallini14-Apr-08 3:04
mveCPallini14-Apr-08 3:04 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 3:36
FPeeters14-Apr-08 3:36 
QuestionRe: Serial communication Pin
CPallini14-Apr-08 4:45
mveCPallini14-Apr-08 4:45 
GeneralRe: Serial communication Pin
Randor 14-Apr-08 5:28
professional Randor 14-Apr-08 5:28 
GeneralRe: Serial communication Pin
CPallini14-Apr-08 5:48
mveCPallini14-Apr-08 5:48 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 19:56
FPeeters14-Apr-08 19:56 
GeneralRe: Serial communication Pin
CPallini14-Apr-08 21:11
mveCPallini14-Apr-08 21:11 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 21:24
FPeeters14-Apr-08 21:24 

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.