Re: HAHA now how to convert a std::string to XSI::CString

Date : Mon, 7 Apr 2008 09:55:14 +0200
To : XSI(at)Softimage.COM
From : "Arvid Björn" <arvidbjorn(at)gmail.com>
Subject : Re: HAHA now how to convert a std::string to XSI::CString
maybe..

CString s = static_cast<CString>(sEname);

It's what I would test, but I might be wrong =)


--
senior 3d artist | stockholm.postproduction | www.stopp.se

On Mon, Apr 7, 2008 at 4:49 AM, dominic bélanger <lowtunes1(at)yahoo.ca> wrote:
hi, now im good to go convert a CString to string  ,but now i have to convert
 
string sEname = NodePtr2->GetNodeName();
 
to CString , if im doing this
 
string sEname = NodePtr2->GetNodeName();
 
CString Patate = sEname;
 
for sure it will not easy like this , i had an error like can not convert a std::string to XSI::CString
 
if anyone have an idea thanks


Découvrez les styles qui font sensation sur Yahoo! Québec Avatars




Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.