CWinApp::GetProfileString

Call this member function to retrieve the string associated with an entry within the specified section in the application's .INI file.

Syntax

CString GetProfileString( LPCTSTR lpszSection, LPCTSTR lpszEntry, LPCTSTR lpszDefault = NULL );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWinApp Overview, CWinApp Member Functions, Application Architecture Classes, CWinApp::GetProfileInt, CWinApp::WriteProfileString