CString strOcxPath = this->m_pszHelpFilePath;
CString strOcxName = this->m_pszExeName;
strOcxName += ".HLP";
int nTmp = strOcxName.GetLength();
nTmp = strOcxPath.GetLength() - nTmp;
m_StrRealOcxPath = strOcxPath.Left(nTmp);
m_StrOcxPath = m_StrRealOcxPath + L"InOutBGSetInfo.ini";
CString strTemp1, strTemp2;
GetLongPathName(m_StrRealOcxPath, strTemp1.GetBuffer(MAX_PATH), MAX_PATH);
GetLongPathName(m_StrOcxPath, strTemp2.GetBuffer(MAX_PATH), MAX_PATH);
strTemp1.ReleaseBuffer();
strTemp2.ReleaseBuffer();
m_StrRealOcxPath = strTemp1;
m_StrOcxPath = strTemp2;
CString strOcxName = this->m_pszExeName;
strOcxName += ".HLP";
int nTmp = strOcxName.GetLength();
nTmp = strOcxPath.GetLength() - nTmp;
m_StrRealOcxPath = strOcxPath.Left(nTmp);
m_StrOcxPath = m_StrRealOcxPath + L"InOutBGSetInfo.ini";
CString strTemp1, strTemp2;
GetLongPathName(m_StrRealOcxPath, strTemp1.GetBuffer(MAX_PATH), MAX_PATH);
GetLongPathName(m_StrOcxPath, strTemp2.GetBuffer(MAX_PATH), MAX_PATH);
strTemp1.ReleaseBuffer();
strTemp2.ReleaseBuffer();
m_StrRealOcxPath = strTemp1;
m_StrOcxPath = strTemp2;