CWinApp::GetProfileString

This method retrieves the string associated with an entry within the specified section in the application’s .ini file.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

See Also

CWinApp::GetProfileInt, CWinApp::WriteProfileString