README
README
README
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: [email protected]
Year of birth: 1978
Occupation: Student of computer science at University of Ljubljana
Current maintainers
------------------
Name: Lars B. Dybdahl
E-mail: [email protected]
Homepage: http://dybdahl.dk/lars/
Year of birth: 1971
Occupation: Freelance programmer
Paul Doland
E-mail: [email protected]
Brian Gochnauer
email:[email protected]
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
MiniTerm.dpr,
MiniTermCB*.bpr - simple terminal application
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).
Otherwise, follow the directions below, and also read the C++ Builder
notes:
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.
C++ Builder 3 does not have a "Package window" like the other products.
So, installation is slightly different.
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.
Also, the CPortCtl.HPP may have a bug in it. If you get an error about
the following being ambiguous;
Change it to:
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.
Click on the "Index" tab. Click Add Files. Select CPort.hlp. Click on the
"Link" tab. Click Add Files. Select CPort.hlp. Select File Menu/Save Project
Item. Exit program. Note that Borland's OpenHelp utility does not prompt you
if you close the program and forget to save your changes, so you must remember
to do so yourself.
Some users of Windows 95/98 have reported that application can't have
two TComPort components open simultaneouslly if serial ports share the
same IRQ address. This usually COM1/COM3 and COM2/COM4.