Tue Aug 30 17:20:58 CDT 2005
parameters (convert to Unicode), then call funcW, then reconvert the
result from Unicode to ASCII. Yes you have to convert twice, but you use
the same function.
Hope it helps you.
> At this point, I've been following approach 1, which makes me a bit
> uncomfortable with regardsto code bloat and forever having to make sure that
> funcA is on par with funcW and vice versa. I've toyed with the idea of 2,
> but as Dimitrie rightly said, it is a bit C++-ish :) (Plus it doesn't do
> wonders for debugging...) Number 3, yes it works, but it can add extra
> files. (Altough it almost seems the best of the 3 I've listed.)
> Your comments would be appreciated, somewhere there is the best solution
> that will be agreeable to all and which makes sure things stay relatively
> simple. (Well, simplicity across two functions at least.)
More information about the wine-devel