SetRegistryKey(_T("Note"));
这样会在注册表中创建一个表项
AfxGetApp()->GetProfileString(_T("MyNote"), _T("path"),_T(""));
这样使用即可