SmileeTiger
Programmer
I am working on a DLL that is build in VC++ using ANSI C calls and then accessing the DLL in VB using a public declare function:
Public Declare Function GetTestDLLVersionNumber Lib "TestDLL.dll" Alias "GetVersionNumber" () As Long
I compile the code on a WinNT machine and the DLL will work fine when used in VB on another NT machine (all the NT machines have the development tools installed on them). However, when I try to use the DLL in VB on a Win95 machine I get the following error:
Run-time error ‘48’:
File not found TestDLL.dll
Does anyone have ANY idea what the heck is going on here?
I am really confused.
Public Declare Function GetTestDLLVersionNumber Lib "TestDLL.dll" Alias "GetVersionNumber" () As Long
I compile the code on a WinNT machine and the DLL will work fine when used in VB on another NT machine (all the NT machines have the development tools installed on them). However, when I try to use the DLL in VB on a Win95 machine I get the following error:
Run-time error ‘48’:
File not found TestDLL.dll
Does anyone have ANY idea what the heck is going on here?
I am really confused.