+-------------------------------------------------+
| ComPort Library version 4.10 |
| for Delphi 5, 6, 7, 2005, 2006, 2007, 2010, XE |
| and C++ Builder 3, 4, 5, 6 |
| |
| by Dejan Crnila 1998-2002 |
| maintained by Lars Dybdahl and Paul Doland |
| maintained by Brian Gochnauer Nov 2010 |
+-------------------------------------------------+
Contents
1. Author information
2. Support
3. Files in archive
4. Examples
5. Package names
6. Installing ComPort Library
7. C++ Builder notes
8. Installing help file
9. Known problems and issues
1. Author information
---------------------------------------------------------------------------------
Name: Dejan Crnila
E-mail: dejancrn@yahoo.com
Year of birth: 1978
Occupation: Student of computer science at University of Ljubljana
Current maintainers
------------------
Name: Lars B. Dybdahl
E-mail: Lars@dybdahl.dk
Homepage: http://dybdahl.dk/lars/
Year of birth: 1971
Occupation: Freelance programmer
Paul Doland
E-mail: cport@pauld.ml1.net
Brian Gochnauer
email:brian@gochanuer.net
2. Support
--------------------------------------------------------------------------------
If you have any questions, suggestions, opinion or any other messages, please
visit the sourceforge forums.
3. Files in archive
--------------------------------------------------------------------------------
ReadMe.Txt - this file
Sources.zip - ComPort Library sources
Help.zip - Delphi context-sensitive help file for library
Examples.zip - Example projects for Delphi & C++ Builder
4. Examples
--------------------------------------------------------------------------------
ComExample.dpr,
ComExampleCB*.bpr - shows some basic send-recieve features
ModTest.dpr - modem test console application
MiniTerm.dpr,
MiniTermCB*.bpr - simple terminal application
CPortMonitor.pas - TCPortMonitor component for monitoring incoming and
outgoing data. This example shows how to link to
TCustomComPort component. Author: Roelof Y. Ensing
(e-mail: ensingroel@msn.com).
BarCodeScanner.pas - TBarCodeScanner component. An example of simple
TCustomComPort descendant.
5. Package names
--------------------------------------------------------------------------------
Design-Time Source Run-Time Source
---------------- ---------------
Delphi 3 DsgnCPort3.dpk CPortLib3.dpk
Delphi 4 DsgnCPort4.dpk CPortLib4.dpk
Delphi 5 DsgnCPort5.dpk CPortLib5.dpk
Delphi 6 DsgnCPort6.dpk CPortLib6.dpk
Delphi 7 DsgnCPort7.dpk CPortLib7.dpk
Delphi 8 DsgnCPort8.dpk CPortLib8.dpk
Delphi 2005 DsgnCPortD2005.dpk CPortLibD2005.dpk
Delphi 2006 DsgnCPortD2006.dpk CPortLibD2006.dpk
Delphi 2007 DsgnCPortD2007.dpk CPortLibD2007.dpk
Delphi 2008 DsgnCPortD2008.dpk CPortLibD2008.dpk
Delphi 2009 DsgnCPortD2009.dpk CPortLibD2009.dpk
Delphi XE DsgnCPortDXE.dpk CPortLibDXE.dpk
C++ Builder 3 DsgnCPortCB3.bpk CPortLibCB3.bpk
C++ Builder 4 DsgnCPortCB4.bpk CPortLibCB4.bpk
C++ Builder 5 DsgnCPortCB5.bpk CPortLibCB5.bpk
C++ Builder 6 DsgnCPortCB6.bpk CPortLibCB6.bpk
6. Installation
--------------------------------------------------------------------------------
Remove all previously installed files of ComPort Library (TComPort
component). Create a new folder under Delphi directory and extract
Sources zip file into new folder. Add to the Library Path the new
ComPort folder (Tools-Environment Options-Library-Library Path).
For Delphi 2006:
Use the instructions below for all other Delphi
versions. But, note that Delphi 2006 supports both Delphi and
C++ Builder. I recommend installing CPort while running Delphi 2006
in the "all personalities" mode of Delphi, rather than in the Delphi
only personality. That helps make sure CPort gets installed dual-mode,
with both Delphi and C++ Builder support. Note that for some reason,
I find the .LIB files get stored into the CPort directory instead of
the $BDSPROJECTS/BPL directory. So, after you install CPort, double
check to make sure the .LIB files are in the right spot.
Finally, the .HPP files also get stored in the CPort directory. Either
move them to a folder already in the C++ source path, or add the CPort
directory to the C++ source path.
Otherwise, follow the directions below, and also read the C++ Builder
notes:
For Delphi 3, 4, 5, 6, 7, 2005 & C++ Builder 4, 5, 6:
Delphi version earlier than version 5 have not been tested recently.
(C++ Builder users also need to read the C++ Builder notes)
Use "File/Open" menu item in Delphi/C++ Builder IDE to open
ComPort run-time package source file (see above). Click "Compile"
button in Package window to compile the library. Now move run-time
package library file or files (see above) from ComPort folder to a
folder that is accessible through the search PATH (e.g. WinNT\System32).
Now you have to install design-time package. Use File/Open menu item
to open design-time package source file (see above). Click "Compile"
button in Package window to compile the package and "Install" button
to register ComPort into the IDE. ComPort components appear in
"CPortLib" page of component pallete. If it complains that it
can't install it because it can't find a library, you probably
did not put the run-time package in the search path. You might
not get this error until the next time you try to start
Delphi/C++ Builder.
Note: Do not save packages under Delphi/C++ Builder IDE.
For C++ Builder 3
(C++ Builder users also need to read the C++ Builder notes)
C++ Builder 3 does not have a "Package window" like the other products.
So, installation is slightly different.
Use "File/Open" menu item in Delphi/C++ Builder IDE to open
ComPort run-time package source file (see above). Compile the
package from the project menu or Ctrl-F9. Now move run-time
package library files (see above) from ComPort folder to a folder
that is accessible through the search PATH (e.g. WinNT\System32).
Now you have to install design-time package. Use File/Open menu item
to open design-time package source file (see above). Compile the
package from the project menu or Ctrl-F9. To install the package
into the IDE, go to the Component menu, "Install Packages" option.
Click the Add button. Browse to the design-time library and select
it. If it complains that it can't install it because it can't find
a library, you probably did not put the run-time package in the
search path as described above.
Note about Delphi 2:
Note: Delphi 2 is no longer suported, however, with some minor changes,
it should compile under Delphi 2 as well.
Use "Component/Install" menu item to add "CPortReg.pas" unit to the
component library. This unit registers ComPort components on
"CPortLib" page of component pallete.
7. C++ Builder Notes
------------------------------------------------------------------------------
The .hpp file C++ Builder creates for cport.pas will have a bug in it.
The first time you compile a project, you will get one or two duplicate
definitions within the EComPort exception class. It seems to be safe to
delete or comment out the duplicates.
Also, the CPortCtl.HPP may have a bug in it. If you get an error about
the following being ambiguous;
typedef TBitmap TLedBitmap;
Change it to:
typedef Graphics::TBitmap TLedBitmap;
If someone knows how to fix these more cleanly, please post what you
find to the CPort Forum so that we can incorporate your findings in
future revisions.
8. Installing help file (not available for Delphi2005)
------------------------------------------------------------------------------
In Delphi/C++ Builder, go to the
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
CPort控件(包括中文说明书及安装方法) (136个子文件)
CPortLibCB4.bpk 4KB
CPortLibCB3.bpk 4KB
DsgnCPortCB4.bpk 4KB
DsgnCPortCB3.bpk 4KB
DsgnCPortCB6.bpk 4KB
CPortLibCB6.bpk 4KB
DsgnCPortCB5.bpk 3KB
CPortLibCB5.bpk 2KB
ComExampleCB4.bpr 5KB
ComExampleCB3.bpr 5KB
MiniTermCB4.bpr 5KB
MiniTermCB3.bpr 5KB
ComExampleCB5.bpr 3KB
MiniTermCB5.bpr 3KB
CPort.cnt 1KB
ComMainForm.cpp 2KB
MTMainForm.cpp 2KB
CPortLibCB5.cpp 788B
DsgnCPortCB5.cpp 767B
CPortLibCB3.cpp 758B
CPortLibCB4.cpp 758B
DsgnCPortCB3.cpp 713B
DsgnCPortCB4.cpp 713B
DsgnCPortCB6.cpp 654B
MiniTermCB4.cpp 631B
MiniTermCB5.cpp 631B
MiniTermCB3.cpp 631B
ComExampleCB5.cpp 625B
ComExampleCB4.cpp 625B
ComExampleCB3.cpp 625B
CPortLibCB6.cpp 523B
CPortAbout.ddp 51B
CPortTrmSet.ddp 51B
CPortSetup.ddp 51B
MTMainForm.dfm 4KB
ComMainForm.dfm 2KB
ComMainForm.dfm 2KB
CPortTrmSet.dfm 2KB
CPortTrmSet.dfm 2KB
MTMainForm.dfm 2KB
CPortSetup.dfm 2KB
CPortSetup.dfm 2KB
CPortAbout.dfm 2KB
CPortAbout.dfm 2KB
CPortLibD2010.dpk 762B
CPortLibDXE.dpk 760B
CPortLibD2006.dpk 750B
CPortLibD2008.dpk 750B
CPortLibD2005.dpk 750B
CPortLibD2007.dpk 750B
CPortLibD2009.dpk 750B
CPortLib7.dpk 746B
CPortLib8.dpk 746B
CPortLib5.dpk 744B
CPortLib6.dpk 741B
CPortLib4.dpk 731B
DsgnCPortD2008.dpk 681B
DsgnCPortD2010.dpk 681B
DsgnCPortD2006.dpk 681B
DsgnCPortD2009.dpk 681B
DsgnCPortD2007.dpk 681B
DsgnCPortD2005.dpk 681B
DsgnCPortDXE.dpk 675B
DsgnCPort8.dpk 661B
DsgnCPort7.dpk 661B
DsgnCPort6.dpk 661B
DsgnCPort4.dpk 651B
DsgnCPort5.dpk 650B
CPortLib3.dpk 624B
DsgnCPort3.dpk 602B
ModTest.dpr 2KB
ComExample.dpr 256B
MiniTerm.dpr 248B
CPortLibD2010.dproj 5KB
DsgnCPortD2010.dproj 5KB
ComMainForm.h 2KB
MTMainForm.h 1KB
CPort.hlp 148KB
CPort.inc 6KB
terminal.ini 65B
CPort.pas 106KB
CPortCtl.pas 73KB
gnugettext.pas 62KB
CPortMonitor.pas 17KB
CPortEsc.pas 12KB
CPortReg.pas 11KB
MTMainForm.pas 5KB
BarCodeScaner.pas 3KB
CPortTrmSet.pas 3KB
ComMainForm.pas 2KB
CPortSetup.pas 2KB
CPortAbout.pas 1KB
cport说明.pdf 742KB
CPortLibDXE.res 90KB
ComExample.res 89KB
DsgnCPortDXE.res 89KB
MiniTerm.res 89KB
CPortImg.res 7KB
CPortImg.res 7KB
DsgnCPortD2010.res 3KB
共 136 条
- 1
- 2
资源评论
- wjun76102019-01-15出4.14了,这个版本也还行,等整理好手上的资料把支持64位的分享出来。
- summerlove2018-01-10谢谢分享,可以安装,正在尝试。
- sixuezhang2016-09-01有点复杂,还在摸索中。
- njzxb2016-11-20D7可以正常安装,接收控制比spcom方便
- langed2020-02-18可以安装,很好用,已经用了一段时间了,很稳定,文档也比较详细。
lypjiji
- 粉丝: 2
- 资源: 18
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功