============================== Reconstruction of hbTapi11.dcp ============================== If you want to use hbTapi 1.9.9 in a Delphi package (using the requirement section), you will get an error message saying that the component hbTapi11 can't be found. The reason is that the author probably forgot to include hbTapi11.dcp to the product. The bpl file can only be used to include hbTapi inside an EXE file (as RTL or as VCL). Fortunately, you can fully reconstruct the DCP file using the existing BPL and DCU files of your purchased product. In this example, I am using Delphi 2007 and the Standard Edition of hbTapi. You probably need to adjust paths and names. Step 1: Reconstruction of the Delphi Component Resource files (*.dcr) using the existing BPL file. 1. Download this tool : http://www.nirsoft.net/utils/resources_extract.html 2. Create a temporary directory, e.g. C:\Temp 3. Run following command: ResourcesExtract.exe /source "C:\hbTapi Components\bin\Delphi2007\hbTapi11.bpl" /ExtractBitmaps 1 /ExtractIcons 0 /destfolder "C:\Temp" 4. Create a file C:\Temp\hbTapi.rc with following contents: TCOMPORT BITMAP TCOMPORT.bmp TCOMPORTSTATUSLED BITMAP TCOMPORTSTATUSLED.bmp TTAPIAPPL BITMAP TTAPIAPPL.bmp TTAPILINE BITMAP TTAPILINE.bmp TTAPIPHONE BITMAP TTAPIPHONE.bmp TWAVEIN BITMAP TWAVEIN.bmp TWAVEOUT BITMAP TWAVEOUT.bmp 5. Create a file C:\Temp\hbComm.rc with following contents: TCOMPORTSTATUSLED_LEDOFF BITMAP TCOMPORTSTATUSLED_LEDOFF.bmp TCOMPORTSTATUSLED_LEDON BITMAP TCOMPORTSTATUSLED_LEDON.bmp 6. Navigate to the directory C:\Temp and execute following commands: brcc32 -fo"hbTapi.dcr" "hbTapi.rc" brcc32 -fo"hbComm.dcr" "hbComm.rc" Now you should have hbTapi.dcr and hbComm.dcr. You can delete the other files now. Step 2: Rebuilding of the BPL and DCP file 1. Create a file "C:\hbTapi Components\bin\Delphi2007\hbTapi11.dpk" with following contents. Please make sure that the *.dcr (which you created in step 1) and the *.dcu files are in this directory. package hbTapi11; {$R *.res} {$ALIGN 8} {$ASSERTIONS OFF} {$BOOLEVAL OFF} {$DEBUGINFO OFF} {$EXTENDEDSYNTAX ON} {$IMPORTEDDATA ON} {$IOCHECKS ON} {$LOCALSYMBOLS OFF} {$LONGSTRINGS ON} {$OPENSTRINGS ON} {$OPTIMIZATION ON} {$OVERFLOWCHECKS OFF} {$RANGECHECKS OFF} {$REFERENCEINFO OFF} {$SAFEDIVIDE OFF} {$STACKFRAMES OFF} {$TYPEDADDRESS OFF} {$VARSTRINGCHECKS ON} {$WRITEABLECONST ON} {$MINENUMSIZE 1} {$IMAGEBASE $400000} {$DESCRIPTION 'hbTapi Components 1.9.9 Standard Edt.'} {$IMPLICITBUILD OFF} requires vcl, vclx, designide, rtl; contains hbComm in 'src\hbComm.pas', hbCommProp in 'src\hbCommProp.pas', hbCommReg in 'src\hbCommReg.pas', hbCommUtils in 'src\hbCommUtils.pas', hbTapi in 'src\hbTapi.pas', hbTapiProp in 'src\hbTapiProp.pas', hbTapiReg in 'src\hbTapiReg.pas', hbTapiUtils in 'src\hbTapiUtils.pas', hbTapiVer in 'src\hbTapiVer.pas', hbTapiWave in 'src\hbTapiWave.pas'; end. 2. Open this DPK file in Delphi 3. Try to compile the package. You should now receive a (new) BPL and a DCP file (saved in the default output paths). The DCP file can now be used for linking of hbTapi11 in other packages.