I am trying to send and receive messages using Serial Port but no know how to read from and write to COMM port using Microsoft Visual C++ Application. How do I find the addresses of these COMMs?
: I am trying to send and receive messages using Serial Port but no know how to read from and write to COMM port using Microsoft Visual C++ Application. How do I find the addresses of these COMMs? : : Any help would be appreciated. : : Jen Tran : hi, if u want to do that in vc++ then use the function CreateFile to open the com port and there is no need to get the address of that and to start communication there is a DCB structure some of the field is to be filled baud rate and then u can use ReadFile and WriteFile to read and write. again if u want to do that by using the address then go to the control panel followed by system find ther com port and look the property and u will get the address. Haider Minto
Comments
:
: Any help would be appreciated.
:
: Jen Tran
:
hi,
if u want to do that in vc++ then use the function CreateFile to open the com port and there is no need to get the address of that and to start communication there is a DCB structure some of the field is to be filled baud rate and then u can use ReadFile and WriteFile to read and write.
again if u want to do that by using the address then go to the control panel followed by system find ther com port and look the property and u will get the address.
Haider Minto