Needs help - GetPrivateProfileSection?
Posted: Sat Jul 19, 2003 12:09 am
Info: The GetPrivateProfileSection function retrieves all the keys and values for the specified section of an initialization (INI) file.
Windows 95/98/Me: The specified profile section must not exceed 32K.
Windows NT/2000 or later: The specified profile section has no size limit.
Help me, please, with using GetPrivateProfileSection in PB?
-returns only first key and value 
Windows 95/98/Me: The specified profile section must not exceed 32K.
Windows NT/2000 or later: The specified profile section has no size limit.
Help me, please, with using GetPrivateProfileSection in PB?
Code: Select all
BufLen.l=32767
szBuf.s=Space(BufLen)
GetPrivateProfileSection_("Reports", szBuf, BufLen, "sample.ini")
Debug szBuf
