
Use File/Open menu item to open design-time package source file (Delphi6: DsgnCPort6.dpk Delphi7: DsgnCPort7.dpk). Now you have to install design-time package. Use “File/Open” menu item in Delphi IDE to open ComPort run-time package source file (Delphi6: CPortLib6.dpk Delphi7: CPortLib7.dpk).Ĭlick “Compile” button in Package window to compile the library. Remove all previously installed files of ComPort Library (TComPort component).Įxtract Sources zip file into Delphi Lib folder. But when I get used to it, I can see that It’s a good one. It’s a little bit complex for me when I use this component for the first time since I don’t know much about serial communication programming. One of them is the miniSMS – a program to read SMS on a cellphone message inbox via PC serial port. The AT-CMD Tester and many Delphi applications that need an access to the serial ports use this component as the interface to it. Take for instance the use of a residential IP provider who needs to use normal home IP addresses to create a pool of IP addresses. So for example it can be especially useful in the modern world of relaying proxy servers and IP addresses through different devices. Being able to send commands however to such a device vastly increases the potential of your code to facilitate communication between different devices.

Why is this important? Well because the modem has a serial port communicating between them and the computer, your code will need to traverse this connection in order to make it work.ĭealing with serial devices is in some ways m,ore complicated than standard network programming. The serial post or UART serial port as it’s correctly known is an input/output device. This voltage wave is called an analog wave. This means that it they are designed to transmit, a voltage wave which is an exact replica of the sound wave coming from human speech. Remember all telephone main lines are mostly digital however the lines to most US houses are usually analog. However like anything you can understand how it works then it can help when developing code which needs to interface with the device.Īlthough a modem is often just thought of as a method for connecting to the internet, there is much more to the device and it’s applications, A modem actually converts digital to analog and the opposite way to. It’s obviously doesn’t take much to install and use a modem however this will depend on the purpose. If you need to utilize serial modem or any other serial communication devices in your Delphi application, you should use this component.

it provide interfaces for Delphi programmers to use the serial communication ports.

CPort is a Delphi component created by Dejan Crnila.
