Please could you help me.
I cant get my USB boards C++ program to compile.
Not even the program supplied with the board…
It gives me a massage “Unable to find package import dss.bpi”
along with lots of other packages it cannot find.
Please could some1 point me in the right direction.
Have you ever been able to compile anything in C++ Builder? Do you have other compilers installed that might interfere with C++ Builder (eg. mess up its PATH etc)?
There in the original project file seems to be unnecessary packages listed.
Please do following change to the project file:
Open the file K8055_Demo.bpr in a text editor.
Replace the section starting with “<PACKAGES value=” with the following text:
<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"/>
Save the K8055_Demo.bpr file and then run the C++Builder and try to compile this project.
How do I address the outputs from a new form or a new program?
I see in the demo code they use “op[number]” to address the outputs but when I use this method it says “undefined symbol op”? My knowage on C++ is not the best and Im sure all I need to do is define the outputs somewhere?? Please could you help?
You’ll find how the array of check boxes op[i] is created from the demo software files Unit1.h and Unit1.cpp (see FormCreate).
If you have problems to create/use array of check boxes then you may use normal check boxes instead.
You can control the digital outputs simply by the DLL functions.
I made a project in C++ Builder 5, Now i am trying to run the same project in C++ builder 6
But when i try to build the project i get a window say " Unable to find package import qrpt.bpi ", I get the same message with lot of other files too.
I went to the *. bpr and copied the name of all the files in <PACKAGES value=, but it does not work.