CPort Component (Serial port interface component for Delphi)
Posted by Daniel - 8,554 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)
One Response to “CPort Component (Serial port interface component for Delphi)”
Leave a Reply
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
Comments - Thanks Guys :)
Rangga Kusuma: Gan, Tengkiu buat postingan yang sangat berguna. Kebetulan ada project utk bikin sms gateway, dan converter Agan sangat berguna utk...
Chuck Norton: I actually went ahead & bolted over to Justin’s Get The Image plugin here: http://justintadlock.com/ar...
Chuck Norton: Question: is it possible to insert something like [custfieldimg=”joice1.jpg,15 0,1:1″] into the actual templates instead of...
Therese Lachance: Hi, Any idea how to have ContuttoPDF fetch the correct page language?
tresloukadu: yo how did u fixed when the tags shows <? and it shows < “& l t ; ” ?? please send me an email.














November 16th, 2008 at 5:46 pm
thanx for every thing