C++borland builder ?

Post general discussions on using our drivers to write your own software here
Post Reply
thierry

C++borland builder ?

Post by thierry » Fri Dec 15, 2006 4:12 pm

do you know how to use the pt10432 dll with BorlandBuilder6, i did what is explain in the pt104 help file, but it doesn't work :

1) implib pt10432.lib pt10432.dll to get a .LIB,
2) add it to Builder,
3) include pt104.h header file,
4) then make use of the dll functions

link error : unresolved external pt104_get_driver_version..."

thank for your help

thierry

Sarah

Post by Sarah » Tue Dec 19, 2006 2:41 pm

Hi

Is the driver in the same directory as the source files you are using? The .lib file should create the link to the .dll. I'm not familiar with how to do this in Borland but you are using all the correct files.

Best Regards

MarkJ
Newbie
Posts: 1
Joined: Mon Jun 30, 2008 12:22 pm
Location: Cambridge

Borland C++ Builder

Post by MarkJ » Mon Jun 30, 2008 12:29 pm

I too would like to use Borland C++ Builder 6 with Pico instruments, but I am having difficulty getting the project files set up. Do you have any complete simple example of a .bpr project file to read from a TC08 (Serial), or even any other instrument?

Regards in advance.

markB
Site Admin
Site Admin
Posts: 83
Joined: Tue Mar 27, 2007 9:43 am
Location: Cambridgeshire,UK

Post by markB » Tue Jul 01, 2008 10:42 am

I dont think that you will need to implib the dll to get the lib file. You should be able to use pt10432.lib directly.

The difference between pt10432.lib and pt104ms.lib is that the latter uses name decoration. As far as I know, Borland uses undecorated names when linking should you will need to use pt10432.lib.
Regards

Mark

Post Reply