I wrote little wrapper for XML Lite library to use it in my MFC project. Can I use this code?
CString GetValue()
{
const WCHAR* pwszValue = NULL;
UINT cwchValue = 0;
m_pReader->GetValue(&pwszValue, &cwchValue);
return CString(pwszValue);
}
Or shoud I use CString& parameter in GetValue method signature?
m_pReader? What error are you getting?