Home › Magazines › 2002 › April › Serial Ports under Windows

Serial Ports under Windows

with an example in Delphi

Published in issue 309, April 2002

The use of I/O functions in Windows programs is still a grey area for most programmers. In this article, we shed some light on the use of the PC’s RS 232 ports in a Windows compatible way.When you wish to use certain devices within a computer, you’ll need routines that control them. With older home computers and PCs, writing such a routine was fairly simple. There was only ever one program running at a time so you didn’t have to take into account that other programs could access the same device. A well-written program would also make sure that the device was set back to its default state at the end of the program’s execution.

Free downloads

020001-11.zip

Free download

Click below to download a pdf copy of this article from Elektor magazine.

 

Downloads 

PDF Article (e024020.pdf)
10 Elektor Credits
 

Free downloads 

020001-11.zip

Free download

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF