How do I use GetPrivateProfileString API in C++?
I know it's syntax:
But that doesn't help me any. Does anyone have an example of how to use it?Code:DWORD GetPrivateProfileString( LPCTSTR lpAppName, // points to section name LPCTSTR lpKeyName, // points to key name LPCTSTR lpDefault, // points to default string LPTSTR lpReturnedString, // points to destination buffer DWORD nSize, // size of destination buffer LPCTSTR lpFileName // points to initialization filename );




Reply With Quote