www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - rs232

reply "dominik" <asd asd.com> writes:
Is there a way or a C library which nicely interfaces with D to communicate 
via RS232? 
Mar 20 2008
parent Yossarian <xtauer01 stud.fit.vutbr.cz> writes:
Dne Thu, 20 Mar 2008 14:37:28 +0100 dominik <asd asd.com> napsal/-a:

 Is there a way or a C library which nicely interfaces with D to  
 communicate
 via RS232?

you can use simply Windows API (CreateFile("COM1", ....) ) examples are here: http://mc-computing.com/languages/Delphi/Delphi_SerialIO.htm (not in C , but pretty explanable) -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
Mar 20 2008