On 11月28日, 下午6时36分, philippe <pa510...@exchange.france.ncr.com> wrote: > Hello. > > I built a browser with gecko 1.8 . It worked fine. > Now I try to use gecko 1.9.2.23. I get some conversions problems > > For example: > > ______________ > > nsString attributeName > > char* attrName=ToNewCString(attributeName); causes an error : cannot > convert parameter 1 from 'nsString_external' to 'const nsACString &' > ___________________ > > Is there a doc about such conversions in 1.9.2. > > Could you help me ? > > Thank's > > philippe
--------------------------------------------- nsString attributeName char* attrName = NS_ConvertUTF16toUTF8(attributeName).get(); _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding