#import <msxml.tli>
#import <msxml.tli
MSXML::IXMLDOMDocumentPtr gl_pDOMDoc[2] ={NULL,NULL};
try { ConvertSpecialCharToString(strNewKey );//HSS_03152010 m_strKeypath = m_strETool + "//" + strkeyLocalMachine + "//" + strNewKey; ProcessKeyPath(m_strKeypath);//SSM_03182010 IXMLDOMNodePtr pResultnode=NULL; pResultnode =gl_pDOMDoc[m_bEnabledEncryption]->selectSingleNode((_bstr_t)m_strKeypath.AllocSysString()); //PDU_03312015 // m_pDOMDoc changed to gl_pDOMDoc[m_bEnabledEncryption] if(!pResultnode) { SearchPathTillCurrentPath(m_strKeypath); bStatus =BS_SUCCESS; } else bStatus = BS_SUCCESS; }
catch(...) { CString strLog; strLog.Format("Exception raised while creating key %s" ,m_strKeypath); LogError(LINE_INFO + strLog); bStatus = BS_FAIL; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)