Test and Measurement Forum

C++borland builder ?

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

C++borland builder ?

Postby 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
thierry
 

Postby 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
Sarah
 

Borland C++ Builder

Postby 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.
MarkJ
Newbie
 
Posts: 1
Joined: Mon Jun 30, 2008 12:22 pm
Location: Cambridge

Postby 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
markB
Site Admin
Site Admin
 
Posts: 83
Joined: Tue Mar 27, 2007 9:43 am
Location: Cambridgeshire,UK


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 1 guest