Hi,

Jakob Lund schrieb:
>
> Wouldn't it be possible do do something like something like
>
> #ifdef WINDOWS
>    TiXmlDocument doc( somehow_convert_to_utf16( filename ) );
> #else
>    TiXmlDocument doc( filename.toUtf8().constData() );
> #endif
>
>
>   
Yes, thats a possible solution! The preprocessor macro to check for 
windows is "#ifdef win32".

-Sebastian

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to