VB6: gpib-32.dll not found on windows server 2019 64 bit

709 views Asked by At

I have a VB6 application which utilizes NI4882 api (VBIB32) with gpib-32.dll and is working fine in all deployed PCs (windows server 2003 32 bit).

However, recently we have a new PC (windows server 2019 64 bit) and the application could not find the gpib-32.dll even though i checked the dll is in C:\Windows\SysWOW64. The error "File not found: gpib-32.dll" prompted out when the apps called function from the dll.

I am not sure if this is the dll compatibility issue on 64bit or is there something that I missed?

Edit:

this is some of the DLL entry function declaration:

' NI-488.2 DLL entry function declarations

Declare Function ibask32 Lib "gpib-32.dll" Alias "ibask" (ByVal ud As Long, ByVal opt As Long, value As Long) As Long

Declare Function ibbna32 Lib "gpib-32.dll" Alias "ibbnaA" (ByVal ud As Long, sstr As Any) As Long

Declare Function ibcac32 Lib "gpib-32.dll" Alias "ibcac" (ByVal ud As Long, ByVal v As Long) As Long

' the rest .....
0

There are 0 answers