bigracefan
Programmer
I'm declaring the following on a child form. It works great on my win2000 delevopment machine but I get a file not found for calwin32.dll when it's run on the NT client machine.
Private Declare Function NWCallsInit Lib "calwin32" _
(reserved1 As Byte, reserved2 As Byte) As Long
Private Declare Function NWCCOpenConnByName Lib "clxwin32" _
(ByVal startConnHandle As Long, ByVal name As String, _
ByVal nameFormat As Long, ByVal openState As Long, _
ByVal tranType As Long, pConnHandle As Long) As Long
Private Declare Function NWGetFileServerDateAndTime Lib "calwin32" _
(ByVal conn As Long, dateTimeBuffer As Byte) As Long
Private Declare Function NWCCCloseConn Lib "clxwin32" _
(ByVal connHandle As Long) As Long
Private Declare Function NWCallsInit Lib "calwin32" _
(reserved1 As Byte, reserved2 As Byte) As Long
Private Declare Function NWCCOpenConnByName Lib "clxwin32" _
(ByVal startConnHandle As Long, ByVal name As String, _
ByVal nameFormat As Long, ByVal openState As Long, _
ByVal tranType As Long, pConnHandle As Long) As Long
Private Declare Function NWGetFileServerDateAndTime Lib "calwin32" _
(ByVal conn As Long, dateTimeBuffer As Byte) As Long
Private Declare Function NWCCCloseConn Lib "clxwin32" _
(ByVal connHandle As Long) As Long