CWinApp* pApp = AfxGetApp();
or to assign a value to a Profile string you would use:
s = pApp->
WriteProfileString(
"section", "entry", "new string value"
)
;
Return to Virtual Mike's Front Door | VC++ Q & A Page | Developer Links Page