installing into the library folder

Please discuss general Delphi programming topics here.

installing into the library folder

Postby Christine123 » September 26th, 2007, 8:58 pm

[/quote]Move / copy the ...

IABSocketAPI.pas
IABSocketAPI.dcr
sckcmp_hhs.pas (D4 and D5 (maybe D6) only - otherwise ignore)


... files to your library or add-on folder. Install these into the library and rebuild.
The component will appear on the Samples page. Depending on your version of Delphi,
it may also ask to include the inet.dcp file. Accept this and include.
[quote]


how do you install these into the library and rebuild?
Christine123
Junior Member
Junior Member
 
Posts: 25
Joined: May 28th, 2007, 10:28 pm

Postby Kambiz » September 26th, 2007, 10:04 pm

Create a new package from the file menu, and then add the specified files into the package, and install it.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2424
Joined: March 7th, 2003, 7:10 pm

Postby Christine123 » September 26th, 2007, 11:31 pm

thank you for your reply kambiz. The following are the directions:
1. Located in the API_all_env folder:

Move / copy the ...

IABSocketAPI.pas
IABSocketAPI.dcr
sckcmp_hhs.pas (D4 and D5 (maybe D6) only - otherwise ignore)


... files to your library or add-on folder. Install these into the library and rebuild.
The component will appear on the Samples page. Depending on your version of Delphi,
it may also ask to include the inet.dcp file. Accept this and include.


For those not familiar with installing components into the DCL ....

Locate and open file {Delphi}\Lib\dclusr.dpk
Add the IABSocketAPI.pas into this package as a "Design Time package".
Compile and save and close this Library.

The component should appear on the Sample tab of the pallette.
Start a new project, or the demo below.


2. Located in the Delphi-BCB (or Kylix) folder:

Compile the demo app IABSocket project.

3. Look through the demo app provided for samples and notes. Also the main
help file is online at the link above. Look there for ammendments and updates.
Code: Select all


So I go to the following Folder:
1) "C:\Program Files\Borland\BDS\4.0\lib" and copy and paste the (3) files into the directory located in step (1).

2) Then I click dclusr.dpk.  In the project manger it comes up as dclsr100.bpl.  I right mouse button click, and choose add.  I add the file IABSocketAPI.pas.  When I do that I see a folder appear under dclusr100.bpl called "contains", in it is IABSocketAPI.dcr and IABSocketAPI.pas.

3) Then I go to Project >> Complie dclusr.  I close and Save.

4) I open up the sample project and there is an error reading form that says "Class T1ABSocket not found.  Ignore the orror and countine?  NOTE: ignorning the eror may cause compontents to be deleted or property values to be lost

Can you see anything I did wrong?

Thanks


Christine123
Junior Member
Junior Member
 
Posts: 25
Joined: May 28th, 2007, 10:28 pm

Postby Kambiz » September 27th, 2007, 5:06 am

You've missed to install the package.
Open dclusr.dpk and then click Install button on the toolbar of the package.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2424
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 2 guests