CPort Component (Serial port interface component for Delphi)

Posted by Daniel - 8,554 Views

external_cport.gifCPort 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

  1. Remove all previously installed files of ComPort Library (TComPort component).
  2. Extract Sources zip file into Delphi Lib folder.
  3. 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.
  4. 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.
  5. 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.

share this article

Digg del.icio.us Netscape StumbleUpon Yahoo! MyWeb reddit Furl Magnolia Newsvine Technorati SlashDot Blinklist Simpy Google
This post as PDFPosted in: Tested Software - January 2008

One Response to “CPort Component (Serial port interface component for Delphi)”

  1. a_suliman Says:

    thanx for every thing



Leave a Reply


Options for your comment:





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.

Coffee Break

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.