Hello,

I have the following code:

Code:
item->nodeID = (*it_inst)->nodeID;
where 'nodeID' in both cases are CStrings. The above assignment gives me an excetption in atlsimpstr.h:

Code:
	bool IsLocked() const throw()
	{
		return nRefs < 0;
	}

can you tell me why this is? When I do something like this:

Code:
LPCTSTR text = TEXT("123");
CString ctext = text;
the LPCTSTR content is copied to my CString. Isn't this the case when I assign another CString???