CPort Component (Serial port interface component for Delphi)
Posted by Daniel - 20,702 Views
CPort is a Delphi component created by Dejan Crnila. it provide interfaces for Delphi programmers to use the serial communication ports. If you need to utilize serial modem or any other serial communication devices in your Delphi application, you should use this component.
The AT-CMD Tester and many of my Delphi applications that need an access to the serial ports use this component as the interface to it. One of them is the miniSMS - a program to read SMS on a cellphone message inbox via PC serial port.
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. But when I get used to it, I can see that It’s a good one.
Installing CPort Delphi Component
- Remove all previously installed files of ComPort Library (TComPort component).
- Extract Sources zip file into Delphi Lib folder.
- Use “File/Open” menu item in Delphi IDE to open ComPort run-time package source file (Delphi6: CPortLib6.dpk; Delphi7: CPortLib7.dpk). Click “Compile” button in Package window to compile the library.
- Now you have to install design-time package. Use File/Open menu item to open design-time package source file (Delphi6: DsgnCPort6.dpk; Delphi7: DsgnCPort7.dpk). Click “Compile” button in Package window to compile the package.
- Click “Install” button to register ComPort into the IDE. ComPort components appear in “CPortLib” page of component pallete.
If you are new to CPort, you can click here to get an example and a brief explanation about using CPort component to read data from your cellular phone.
The following posts are programmatically considered as related to the current post by YARPP Plugin:
- An example: Using CPort Delphi Component to read data from your cellphone
- MPEG Audio Component (A Delphi component to play audio files)
- Delphi SMSCodec (SMS Processing Component)
- Runtime-Form-Creation. Automatically creating child forms in a Delphi MDI application with a component array
- XP Menu Component (MS-Office XP style on Delphi menu and toolbar)
Hi, my name is Daniel Nugraha, a single male live on an island called Java, Indonesia. This is the place for me to share my interest in computer programming.
-
Get my Full Feed Here
Popular Entries
- Passing arguments to your VB.NET console application
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
- Resize Image or Crop Image with Joe Lencioni’s Smart Image Resizer, WordPress Setup
- How to Get User Input and allowing more than 256 characters to be entered on .NET Console Application
- ASCII To PDU Converter (Convert ASCII to PDU and vice versa)
- ConsoleProgressBar - Simple Progress Bar Function for your VB.Net Console Application
- An example: Using CPort Delphi Component to read data from your cellphone
- Runtime-Form-Creation. Automatically creating child forms in a Delphi MDI application with a component array
- CPort Component (Serial port interface component for Delphi)
- SmartImageResizer Plugin, WordPress plugin based on Joe Lencioni’s Smart Image Resizer













