Hello Koen Koen Deforche a écrit : > Hey Guy, > > 2009/5/1 Guy Deleeuw <g.de_le...@eurofer.be>: > >> Hello >> >> I have a crash with this line : >> >> std::string strUserRootPath(WString::tr("rootPath").narrow()); >> > > Are you sure this is the offending line? I could not reproduce this. > What is the context of this line: do you already have an WApplication > object? I could only imagine that this is the reason for a crash in > WString: message resource bundles only work after a WApplication has > been instantiated (i.e. the soonest from within the constructor of > your WApplication class). > > I'm not sure, but in previous version of Wt this line work fine, in 2.99.1 no. I add just a fprintf(stderr, "blabla"); before and after this line, i see the first output but not the second. The rootPath value does not exists in the cfg file are you trying this possibility ? If yes I investigate more on the thread part.
Regards Guy ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest