Click here to Skip to main content
15,881,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General[Message Deleted] Pin
jitendrapothuru21-Jun-09 23:03
jitendrapothuru21-Jun-09 23:03 
GeneralRe: multiple comport settings to be taken Pin
Cedric Moonen21-Jun-09 23:06
Cedric Moonen21-Jun-09 23:06 
General[Message Deleted] Pin
jitendrapothuru21-Jun-09 23:12
jitendrapothuru21-Jun-09 23:12 
GeneralRe: multiple comport settings to be taken Pin
Cedric Moonen21-Jun-09 23:17
Cedric Moonen21-Jun-09 23:17 
General[Message Deleted] Pin
jitendrapothuru21-Jun-09 23:21
jitendrapothuru21-Jun-09 23:21 
GeneralRe: multiple comport settings to be taken Pin
Cedric Moonen21-Jun-09 23:23
Cedric Moonen21-Jun-09 23:23 
General[Message Deleted] Pin
jitendrapothuru21-Jun-09 23:25
jitendrapothuru21-Jun-09 23:25 
GeneralRe: multiple comport settings to be taken Pin
Cedric Moonen21-Jun-09 23:28
Cedric Moonen21-Jun-09 23:28 
jitendrapothuru wrote:
this is the class to open the port and i have created only one instance of the class


So, you have multiple ports but you only create one instance of the class, which means you only have one single COM handle. So, you'll only be able to access the last opened port.
If you want to manipulate multiple COM ports, you have to create one instance of the class for each COM port you want to access and use all of these instances to access the different ports (one instance of the class relates to one single COM port).

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

General[Message Deleted] Pin
jitendrapothuru21-Jun-09 23:37
jitendrapothuru21-Jun-09 23:37 
GeneralRe: multiple comport settings to be taken Pin
Cedric Moonen21-Jun-09 23:47
Cedric Moonen21-Jun-09 23:47 
General[Message Deleted] Pin
jitendrapothuru21-Jun-09 23:58
jitendrapothuru21-Jun-09 23:58 
GeneralRe: multiple comport settings to be taken Pin
Cedric Moonen22-Jun-09 0:02
Cedric Moonen22-Jun-09 0:02 
GeneralRe: multiple comport settings to be taken Pin
jitendrapothuru22-Jun-09 0:09
jitendrapothuru22-Jun-09 0:09 
GeneralRe: multiple comport settings to be taken Pin
Cedric Moonen22-Jun-09 0:06
Cedric Moonen22-Jun-09 0:06 
QuestionHow to create xml document using Schema in MFC application? Pin
hemamerp21-Jun-09 22:00
hemamerp21-Jun-09 22:00 
AnswerRe: How to create xml document using Schema in MFC application? Pin
Cedric Moonen21-Jun-09 22:40
Cedric Moonen21-Jun-09 22:40 
GeneralRe: How to create xml document using Schema in MFC application? Pin
hemamerp22-Jun-09 19:31
hemamerp22-Jun-09 19:31 
GeneralRe: How to create xml document using Schema in MFC application? Pin
Cedric Moonen22-Jun-09 20:37
Cedric Moonen22-Jun-09 20:37 
Question3DES encryption. Pin
Sudhan Gandhi21-Jun-09 21:14
Sudhan Gandhi21-Jun-09 21:14 
AnswerRe: 3DES encryption. Pin
CPallini21-Jun-09 21:24
mveCPallini21-Jun-09 21:24 
GeneralRe: 3DES encryption. Pin
Sudhan Gandhi22-Jun-09 1:17
Sudhan Gandhi22-Jun-09 1:17 
GeneralRe: 3DES encryption. Pin
CPallini22-Jun-09 1:49
mveCPallini22-Jun-09 1:49 
AnswerRe: 3DES encryption. Pin
Stuart Dootson21-Jun-09 23:47
professionalStuart Dootson21-Jun-09 23:47 
Question[SOLVED] possible to pass in a string as UNICODE? Pin
UserNameless21-Jun-09 20:53
UserNameless21-Jun-09 20:53 
QuestionRe: possible to pass in a string as UNICODE? Pin
CPallini21-Jun-09 21:17
mveCPallini21-Jun-09 21:17 

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.