C++borland builder ?

 
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
Author Message
thierry
Guest





PostPosted: Fri Dec 15, 2006 4:12 pm    Post subject: C++borland builder ? Reply with quote

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
Back to top
Sarah
Guest





PostPosted: Tue Dec 19, 2006 2:41 pm    Post subject: Reply with quote

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
Back to top
MarkJ
Newbie


Joined: 30 Jun 2008
Posts: 1
Location: Cambridge

PostPosted: Mon Jun 30, 2008 12:29 pm    Post subject: Borland C++ Builder Reply with quote

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.
Back to top
markB
Site Admin
Site Admin


Joined: 27 Mar 2007
Posts: 80
Location: Cambridgeshire,UK

PostPosted: Tue Jul 01, 2008 10:42 am    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group