Index: src/libchcore/TConfig.cpp
===================================================================
diff -u -N -rffdee64cb0f2d472bb4102abe80ee12783e794c8 -r2fe97a93f21771d75901d4b6559057d1ea055104
--- src/libchcore/TConfig.cpp	(.../TConfig.cpp)	(revision ffdee64cb0f2d472bb4102abe80ee12783e794c8)
+++ src/libchcore/TConfig.cpp	(.../TConfig.cpp)	(revision 2fe97a93f21771d75901d4b6559057d1ea055104)
@@ -99,7 +99,7 @@
 	boost::property_tree::wiptree tPropertyTree;
 	GetImpl()->ExportToPropertyTree(tPropertyTree);
 
-	std::wofstream ofs(GetImpl()->m_strFilePath, std::ios_base::out);
+	std::wofstream ofs(GetImpl()->m_strFilePath.c_str(), std::ios_base::out);
 	boost::property_tree::xml_parser::write_xml(ofs, tPropertyTree);
 }
 
@@ -110,7 +110,7 @@
 
 	boost::property_tree::wiptree tPropertyTree;
 
-	std::wistringstream ifs((const wchar_t*)strInput, std::ios_base::in);
+	std::wistringstream ifs(strInput.c_str(), std::ios_base::in);
 	boost::property_tree::xml_parser::read_xml(ifs, tPropertyTree);
 
 	boost::unique_lock<boost::shared_mutex> lock(GetImpl()->m_lock);
@@ -186,7 +186,7 @@
 		spRowReader->GetValue(_T("node_order"), iOrder);
 		spRowReader->GetValue(_T("value"), strValue);
 
-		m_pImpl->AddEntry(strName, iOrder, strValue);	// also resets modification state inside
+		m_pImpl->AddEntry(strName.c_str(), iOrder, strValue);	// also resets modification state inside
 	}
 }