Click to See Complete Forum and Search --> : cstring with ATL


AviLaviad
January 31st, 2005, 10:21 AM
how can i use CString with ATL in Visual Studio .NET?

Arjay
January 31st, 2005, 12:08 PM
You can't pass an ATL string object across the com interface (you'll need to pass a BSTR), but you can use it internally by including atlstr.h to your project.

Arjay

AviLaviad
February 1st, 2005, 02:42 AM
You can't pass an ATL string object across the com interface (you'll need to pass a BSTR), but you can use it internally by including atlstr.h to your project.


thanks man. it worked!
Avi.