<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jun 26, 2013 at 8:40 AM, Reini Urban <span dir="ltr"><<a href="mailto:rurban@x-ray.at" target="_blank">rurban@x-ray.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im">On Tue, Jun 25, 2013 at 3:22 AM, Luís Oliveira<br>
<<a href="mailto:loliveira@common-lisp.net">loliveira@common-lisp.net</a>> wrote:<br>
</div><div class="im">> On Tue, Jun 25, 2013 at 1:56 AM, Mirko Vukovic <<a href="mailto:mirko.vukovic@gmail.com">mirko.vukovic@gmail.com</a>> wrote:<br>
>> I am trying to link to a VISA library (VISA is used to control data<br>
>> acquisition instruments), visa32.lib compiled for Windows. The library is<br>
>> shipped with Tektronix software.<br>
><br>
> I'm surprised loading it works. That sounds like a static library.<br>
><br>
>> Using `nm' I did find:<br>
>> 00000000 I __imp__viOpenDefaultRM@4<br>
>> 00000000 T _viOpenDefaultRM@4<br>
<br>
</div>.lib is the naming convention for an MSVC import library, forwarding to a .dll.<br>
In cygwin and mingw it is usually named .dll.a.<br>
See the I type, and the __imp__ prefix.<br>
<br>
With gnu binutils you can find the matching dll<br>
(they have versioned names, and no symlink support)<br>
via dllimport -I libname<br></blockquote><div><br></div>Did you mean dlltool (<a href="http://www.gnu.org/software/binutils/">http://www.gnu.org/software/binutils/</a>)<br> <br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
--<br>
Reini Urban<br>
<a href="http://cpanel.net/" target="_blank">http://cpanel.net/</a> <a href="http://www.perl-compiler.org/" target="_blank">http://www.perl-compiler.org/</a><br>
</blockquote></div><br></div></div>