Serial Port Programming with Delphi
It difficut to programming with Delphi to access serial port as VB (MSComm) .But , I found serial port component for use to access serial port name TComPort writen by Dejan Crnila .It also can use with Delphi 3, 4, 5, 6, 7 and C++ Builder 3, 4, 5, 6. This is very helpful component for Delphi and C programmer.
In this article demonstration how to install for Delphi 6.0
Install
1.Download TComPort component comport30.zip (Zipped file) at the buttom.
2.Extract the zipped file you will get the files like this :
Picture 1 file after extract comport30.zip
3.Extract sources.zip
4.Go to sources folder and the double click file CPortLib6.dpk
and then Delphi was Opened and show Package window link
Picture 2
Picture 2 Package window
5. Click Compile button it will generate new files in the same folder (sources) like this
Picture 3 New files after compiler CPortLib6.dpk
6. Copy all new files to Lib folder of installed Delphi (i.e. c:\Program Files\Borland\Delphi6\Lib\)
7.Close Delphi then double click file DsgnCPort6.dpk
in folder sources Delphi will open again and show Pagkage
window
Picture 4 After double click DsgnCPort6.dpk
8. Click Compile then click Install the TComPort Component will
installed and show in component palate
Picture 5 Component Installed
To use this component you should read from help file come with this component it very nice describtion
Download
No comments:
Post a Comment