I'm having trouble with the GetPrivateProfileStringKeys API Call.
Here is the declaretion:
Declare Function GetPrivateProfileStringKeys& Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName$, ByVal lpszKey&, ByVal lpszDefault$, ByVal lpszReturnBuffer$, ByVal cchReturnBuffer&, ByVal lpszFile$)
If you have information or code how to use this function i would appreciate it, or just a full module with all the INI API Calls with comments.
What I want to do is list all the Keys in an INI under the 'Application' Templates.
'Example:
[Templates]
Name1=blah
Name2=blah
Name3=blag
and add each of the 'Keys' to a listbox.
Thanks for your time!




Reply With Quote