<P>
The program runs on Windows just fine because Windows Unicode function expects wchar_t to be 2 bytes (unlike GNU's) which is what it gets..<BR>
<BR>
So the program runs on wine correctly too...<BR>
<BR>
But I want the app to be a native ELF using GLibc's own Internal functions...<BR>
<BR>
I have assumed that the user may not have WINE<BR>
<BR>
Regards<BR>
<BR>
On Sun, 28 Dec 2003 Dan Kegel wrote :<BR>
>Dan Kegel wrote:<BR>
>>I'm way out of touch with Wine these days, but here's<BR>
><BR>
>[ meant to say "my two bits"... obviously my mind is wandering... ]<BR>
><BR>
>>1. If you want to get something useful done, switch to C. Mixing<BR>
>>g++ and Winelib seems to be a bit tricky, and you might end up<BR>
>>spending all your time on that instead of solving the problem you<BR>
>>originally wanted to solve.<BR>
>><BR>
>>2. If you insist on using C++:<BR>
>>if the problem resists analysis, perhaps you could use Valgrind<BR>
>>to help track down the problem.<BR>
><BR>
>3. Compile with MS Visual C++. I run MSVC++ 4.0 on Wine just fine,<BR>
>and I bet even newer versions will run the commandline versions<BR>
>of the compilers ok on wine.<BR>
><BR>
>#3 really is the best option, since then your app will<BR>
>run fine both on Windows and on Wine...<BR>
><BR>
>- Dan<BR>
><BR>
><BR>
</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0 HEIGHT=74 WIDTH=496></a>