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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

References needed for GetPrivateProfileString function useage

Status
Not open for further replies.
Jan 8, 2001
163
US
Do I have to reference anything in order to use the GetPrivateProfileString function to read from an ini file? If so what?
 
Just declare it:
Code:
Declare Function GetPrivateProfileString Lib "kernel32.dll" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top