Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SERIAL PORT SIMPLE DATA TRANSMIT 1

Status
Not open for further replies.

ric998812

Programmer
Jun 9, 2000
1
ES
hello, i need one example about serial port data transmision.<br>I've one example but i think it does not work, please help me about this. PD: Windows mode.<br>
 
Hey..<br>&nbsp;&nbsp;&nbsp;Inwindows mode U ca'nt use inport &outport<br>instructions as in DOS.<br>So u will have use sockets.<br>Call this socket API's in ur programme.<br>
 
Dear sachindn,<br><br>&gt; So u will have use sockets.<br><br>That is an erroneous statement. You cannot transmit data on a serial port using sockets unless the TCPIP stack is connected to the sieral port which is usually NOT the case.<br><br>-pete
 
Dear ric998812,<br><br>As ZBuilder stated there are some differences between Win16 and Win32, if you are dealing with Win32, go to msdn.microsoft.com and read this article, you can also download a sample working appication from this article.<br><br><A HREF=" TARGET="_new"> you want Win16 you will need to search around MSDN to find an old article related to that.<br><br>Good luck<br>-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top