Original thread: thread705-616421
I have the following:
Private Declare Function adh_apiLDBUser_GetUsers Lib "L:\DATA\RETAIL\DATASERV\CENTRAL\MSLDBUSR.DLL" _
Alias "LDBUser_GetUsers" (strUserBuffer() As String, _
ByVal strFilename As String, ByVal lngOptions As Long) As Integer
Const adh_apiAllLDBUsers = &H1
Const adh_apiLDBLoggedUsers = &H2
Const adh_apiLDBCorruptUsers = &H4
Const adh_apiLDBUserCount = &H8
This tells me how many users are logged into the system.
I would like to be able to change the library call to just the CURRENT PATH & the Library File. unfortunately, I don't know how to do this. I don't know if I can make the library a paramater that is passed in - I don't think so - but I'm asking for help anyway.
Thank you in advance!
Randall Vollen
National City Bank Corp.
I have the following:
Private Declare Function adh_apiLDBUser_GetUsers Lib "L:\DATA\RETAIL\DATASERV\CENTRAL\MSLDBUSR.DLL" _
Alias "LDBUser_GetUsers" (strUserBuffer() As String, _
ByVal strFilename As String, ByVal lngOptions As Long) As Integer
Const adh_apiAllLDBUsers = &H1
Const adh_apiLDBLoggedUsers = &H2
Const adh_apiLDBCorruptUsers = &H4
Const adh_apiLDBUserCount = &H8
This tells me how many users are logged into the system.
I would like to be able to change the library call to just the CURRENT PATH & the Library File. unfortunately, I don't know how to do this. I don't know if I can make the library a paramater that is passed in - I don't think so - but I'm asking for help anyway.
Thank you in advance!
Randall Vollen
National City Bank Corp.