Library files

The free CAN Software API (Application Programming Interface) for Windows®

Library files

Postby zhaver » Thu 21. Jul 2011, 19:47

I have been using the .dll successfully in my project for a while now, but was wondering if the .lib files contained within the development code are static library files or import library files.

I ask because my project is currently accessing eight different .dlls(other than PCANBasic.dll), and it is turning into a deployment issue with so many different items. My solution to this was to use static library versions of all of these .dlls to contain all of the code within the executable itself. I have successfully moved to static libraries on all of my .dll files except for PCANBasic.dll. I am having linking issues with resolving the symbols when I attempt to use PCANBasic.lib. Any information or documentation that I could get on implemting the PCAN-Basic functionality in this way would be appreciated. My implementation is in Visual C++ (CLR).

Thanks,

Zach
zhaver
 
Posts: 1
Joined: Thu 21. Jul 2011, 19:07

Re: Library files

Postby K.Wagner » Fri 22. Jul 2011, 10:25

Hello Zach,

the lib files contained in the PCAN-Basic packages are just import libraries, one for Visual Studio and another for C++ Builder (Borland / Embarcadero). You will still need to have the dll on disk to work with PCAN-Basic. :(

:idea: The only advice I can give you to do what you want is to attach the pcanbasic.dll file as a resource of your assembly (exe or dll). I have found some information hier that can be helpfull for you.

Good luck,
Best regards,
Keneth
User avatar
K.Wagner
Software Development
Software Development
 
Posts: 134
Joined: Wed 22. Sep 2010, 13:36
Location: Darmstadt, Germany


Return to PCAN-Basic



cron