CString strVal;
CString strAbsFile;
TCHAR dir[I_MAX_PATH];
I_CHAR retVal[2048];;
memset( dir, 0, I_MAX_PATH);
memset( retVal, 0, 2048);
IAGetWorkDir( dir);
strAbsFile.Format( _T("%s%s"), dir, strFile);
IAGetPrivateProfileString( strSection.GetBuffer(0), strKey.GetBuffer(0), NULL, retVal, 2048,strAbsFile.GetBuffer(0));
strVal = retVal;
return strVal;