com port settings
-
I need to design a dialog based application in vcpp through which i need to send and receive data through the com port. Still now,i've completed the part through which i can send and receive data using a buffer. i've not included the com port module so far. 1) In my menu options i've included all the ports, but the ports which r presently connected to the system should be enabled. 2) I've to configure the port, even if it is connected or not. 3)By choosing that particular port, i need to connect and send and receive data through it. mithila
-
I need to design a dialog based application in vcpp through which i need to send and receive data through the com port. Still now,i've completed the part through which i can send and receive data using a buffer. i've not included the com port module so far. 1) In my menu options i've included all the ports, but the ports which r presently connected to the system should be enabled. 2) I've to configure the port, even if it is connected or not. 3)By choosing that particular port, i need to connect and send and receive data through it. mithila
Look at http://www.codeproject.com/system/serial.asp ( CSerial ) or at the wfc, there is a serial class. or http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn\_serial.asp Good Luck, Hardy.
-
Look at http://www.codeproject.com/system/serial.asp ( CSerial ) or at the wfc, there is a serial class. or http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn\_serial.asp Good Luck, Hardy.
-
Hi, I'm using menu in my module. The ports which r present in the system should be enabled in the menu. How is it possible? mithila mithila
The CSerial- class has a "Open" and "Close" Method and it can be configured. So call open from your menu's message-handler to open the comport:), but take care that you write the configuration before. To close it, just call the close-Method. I think there is a example-App with CSerial. Hardy.