  | | | C++ question | C++ question 2004-06-10 - By Bradley Gabe
Back If you have access to v4 Documentation, check out the CString Class Reference in the SDK section. There are some examples in there for converting back and forth between char * and wide string format.
It's a bit of a headache, but I guess it's why XSI is getting popular in Asia. :-)
-Brad
> Maybe I am dumb..... > > how to convert a CString to a const char *? > > I need this to read files inside of a c++ operator... > > really weird... just doesn't work... > > thanks, > > helge
-- Bradley R. Gabe Industrial Light & Magic
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1"> <title></title> </head> <body> If you have access to v4 Documentation, check out the CString Class Reference in the SDK section. There are some examples in there for converting back and forth between char * and wide string format. <br> <br> It's a bit of a headache, but I guess it's why XSI is getting popular in Asia. :-)<br> <br> -Brad<br> <br> <blockquote type="cite" cite="mid000a01c44ef2$f7b08750$5101a8c0@(protected)"> <meta http-equiv="Content-Type" content="text/html; "> <meta content="MSHTML 6.00.2737.800" name="GENERATOR"> <style></style> <div><font face="Arial" size="2">Maybe I am dumb.....</font></div> <div> </div> <div><font face="Arial" size="2">how to convert a CString to a const char *?</font></div> <div> </div> <div><font face="Arial" size="2">I need this to read files inside of a c++ operator...</font></div> <div> </div> <div><font face="Arial" size="2">really weird... just doesn't work...</font>< /div> <div> </div> <div><font face="Arial" size="2">thanks,</font></div> <div> </div> <div><font face="Arial" size="2">helge</font></div> </blockquote> <br> <pre class="moz-signature" cols="72">-- Bradley R. Gabe Industrial Light & Magic </pre> </body> </html>
|
|
 |