const WCHAR* nodeval;
if (FAILED(hr = pReader->GetValue((LPCWSTR *)&nodeval, NULL)))
{
wprintf(L"Error getting value, error is %08.8lx", hr);
return -1;
}
When I try debugging the const WCHAR* datavariable in the locals
screen, I keep getting a <Bad Ptr> displayed as the Value. How
exactly does the const WCHAR * work and how do I know if that pReader-
>GetValue function is actually setting nodeval correctly?
Thanks