Hi gurus,

Code:
	if (bstrParam == NULL)
	{
		CString strOutput("");
		return strOutput;
	}
	else
	{
		CString strOutput(bstrParam);
		return strOutput;
	}
Hi gurus I think this is a simple question... but how can I test the value of bstrParam further. I'm getting a problem with the line that says ...CString strOutput(bstrParam) when bstrParam is not properly initialised. How can I test for this? In the debug window bstrParam is 0xcccccccc or something like that.

Thanks.