Hi.

I'm trying to populate a BSTR variable with a value from an edit control on a form that I have created a variable for (m_Edit). m_Edit is a CString object, but I keep getting a conversion error.

Does anyone know how to do this?

Also, a web reference for data type conversations in Visual C++ would be handy also.

Thanks in advance.