On Wed, Jun 26, 2013 at 8:40 AM, Reini Urban <rurban@x-ray.at> wrote:
On Tue, Jun 25, 2013 at 3:22 AM, Luís Oliveira
<loliveira@common-lisp.net> wrote:
> On Tue, Jun 25, 2013 at 1:56 AM, Mirko Vukovic <mirko.vukovic@gmail.com> wrote:
>> I am trying to link to a VISA library (VISA is used to control data
>> acquisition instruments), visa32.lib compiled for Windows.  The library is
>> shipped with Tektronix software.
>
> I'm surprised loading it works. That sounds like a static library.
>
>> Using `nm' I did find:
>> 00000000 I __imp__viOpenDefaultRM@4
>> 00000000 T _viOpenDefaultRM@4

.lib is the naming convention for an MSVC import library, forwarding to a .dll.
In cygwin and mingw it is usually named .dll.a.
See the I type, and the __imp__ prefix.

With gnu binutils you can find the matching dll
(they have versioned names, and no symlink support)
via dllimport -I libname

Did you mean dlltool (http://www.gnu.org/software/binutils/)