CPort Component (Serial port interface component for Delphi)

Posted by Daniel - 6,345 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.

__________________________

Related posts brought to you by Yet Another Related Posts Plugin.

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:





Get my Full Feed Here or you can subscribe to one of my category based feeds below:
Coffee Break

Latest Blog Entries

Categories

Neighbours and Friends

Comments - Thanks Guys :)

  • Therese Lachance: Hi, Any idea how to have ContuttoPDF fetch the correct page language?
  • Marlena Albu: Super Blog, Dude! I am constantly on the watch for new and interesting sites and postings about audio equipment… which is what...
  • tresloukadu: yo how did u fixed when the tags shows <? and it shows < “& l t ; ” ?? please send me an email.
  • Sean: This is a great piece of code and thanks for adding the updates. Sean’s last blog post: Not All Text Message Marketing Is Created...
  • rodhy: Thank for your code, it very usefull for me. best regard.