> What do you mean by handling the exception? Fallback to the non wchar_t 

yes

> solution  if an exception is caught? For this to work the choice of 
> using wchar_t or not must be done at run-time; unfortunately the source 
> code is really not ready to do that now (lots of #ifdef).

wont be possible to avoid any ifdefs by doing something like :

try
locale stuff (init+sort);
catch any_error: do non_locale stuff 

?

(i'm not much familiar with exceptions, maybe just talking nonsense.)
pavel

Reply via email to