Hello,
I’m trying to compile / make / run the k8055_source_code (Borland C++
version) using Borland C++ Builder 5, without success. Builser 5 reports
a lot of missing *.bpi files. Please help me to solve this problem.
Hello,
I’m trying to compile / make / run the k8055_source_code (Borland C++
version) using Borland C++ Builder 5, without success. Builser 5 reports
a lot of missing *.bpi files. Please help me to solve this problem.
This may help:
Open the file K8055_Demo.bpr with a text editor and replace the section starting with <PACKAGES value=
with the following text and save the file:
<PACKAGES value="vcl.bpi rtl.bpi dbrtl.bpi adortl.bpi vcldb.bpi vclx.bpi bdertl.bpi
vcldbx.bpi ibxpress.bpi cds.bpi dsnap.bpi bdecds.bpi qrpt.bpi teeui.bpi
teedb.bpi tee.bpi dss.bpi teeqr.bpi visualclx.bpi visualdbclx.bpi
dsnapcrba.bpi dsnapcon.bpi bcbsmp.bpi dclusr.bpi"/>
Thank you for the answer,
I need to remove all .bpi files (empty the PACKAGES entry) and also empty the SPARELIBS (.lib entry) to avoid error messages during compilation. Now when compiling I then get a lot of linker errors:
[Linker Error] Unresolved external ‘OpenDevice’ referenced from C:\XUSER\TROND\BORLAND C++ 5 PROJECTS\8055_DEMO\UNIT1.OBJ
[Linker Error] Unresolved external ‘CloseDevice’ referenced from C:\XUSER\TROND\BORLAND C++ 5 PROJECTS\8055_DEMO\UNIT1.OBJ
[Linker Error] Unresolved external ‘SetAllDigital’ referenced from C:\XUSER\TROND\BORLAND C++ 5 PROJECTS\8055_DEMO\UNIT1.OBJ
etc.
as if a reference to the K8055D.dll is missing. But the K8055D.dll is in the C:\Windows\system32 directory and also in the project directory. Please help me to overcome the linker errors.
I also notice that the K8055_Demo.bpr has the entry
while I’m using Borland Builder 5.5. Is this a problem?
Thanks
Have you added the k8055d.lib to the project?
(Project / Add to Project…)
Thank you,
Adding the k8055d.lib file did it. The project is now running. Why was adding the lib-file necessary? It was already contained in the project directory.
Thanks
Nice that you got the project compiled!
Maybe your version 5 didn’t locate the LIB file.
In the project file it is mentioned and should be loaded automatically: