Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help declaring an API call

Status
Not open for further replies.

hwkranger

MIS
Nov 6, 2002
717
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top