RLawless
asked on
Linking .LIB and .DLL files to borland C++Builder3 application
To anyone willing to help,
I am trying to link advantech driver software to a data acquisition program I wrote using Borland C++builder3. I have a PCL-812PG Multi-Lab card in my machine.
In my program I am able to include the header file "driver.h"
(#include"D:\Program Files\Advantech\ADSAPI\inc lude\drive r.h")
but am unable to import the .LIB file. (#include"D:\Program Files\Advantech\ADSAPI\Exa mples\BC\L IB")
The error message reads:
[C++Error] Thesis2.cpp(7): Unable to open include file 'D:\Program Files\Advantech\ADSAPI\Exa mples\BC\L IB'.
If I exclude the line (#include"D:\Program Files\Advantech\ADSAPI\Exa mples\BC\L IB")
The error message reads as follows
[LinkerError] Unresolved external 'pcl818H(int,unsigned int*)' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER3\PR OJECTS\THE SIS2.OBJ.
'pcl818H' is a function call to a parameter table the driver software uses.
The manual refers to an IMLIB Utility method but I do not understand how this is used.
This is fundamental stuff I know, but I have little experience in the field and this program is part of my final year thesis to be presented on the 12th. So I'm pulling my hair out and would be very greatful for any suggestions.
Thankyou,
Richie.
I am trying to link advantech driver software to a data acquisition program I wrote using Borland C++builder3. I have a PCL-812PG Multi-Lab card in my machine.
In my program I am able to include the header file "driver.h"
(#include"D:\Program Files\Advantech\ADSAPI\inc
but am unable to import the .LIB file. (#include"D:\Program Files\Advantech\ADSAPI\Exa
The error message reads:
[C++Error] Thesis2.cpp(7): Unable to open include file 'D:\Program Files\Advantech\ADSAPI\Exa
If I exclude the line (#include"D:\Program Files\Advantech\ADSAPI\Exa
The error message reads as follows
[LinkerError] Unresolved external 'pcl818H(int,unsigned int*)' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER3\PR
'pcl818H' is a function call to a parameter table the driver software uses.
The manual refers to an IMLIB Utility method but I do not understand how this is used.
This is fundamental stuff I know, but I have little experience in the field and this program is part of my final year thesis to be presented on the 12th. So I'm pulling my hair out and would be very greatful for any suggestions.
Thankyou,
Richie.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.