<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>
&gt;Dan Kegel wrote:<BR>
&gt;&gt;I'm way out of touch with Wine these days, but here's<BR>
&gt;<BR>
&gt;[ meant to say &quot;my two bits&quot;... obviously my mind is wandering... ]<BR>
&gt;<BR>
&gt;&gt;1. If you want to get something useful done, switch to C.&nbsp; Mixing<BR>
&gt;&gt;g++ and Winelib seems to be a bit tricky, and you might end up<BR>
&gt;&gt;spending all your time on that instead of solving the problem you<BR>
&gt;&gt;originally wanted to solve.<BR>
&gt;&gt;<BR>
&gt;&gt;2. If you insist on using C++:<BR>
&gt;&gt;if the problem resists analysis, perhaps you could use Valgrind<BR>
&gt;&gt;to help track down the problem.<BR>
&gt;<BR>
&gt;3. Compile with MS Visual C++.&nbsp; I run MSVC++ 4.0 on Wine just fine,<BR>
&gt;and I bet even newer versions will run the commandline versions<BR>
&gt;of the compilers ok on wine.<BR>
&gt;<BR>
&gt;#3 really is the best option, since then your app will<BR>
&gt;run fine both on Windows and on Wine...<BR>
&gt;<BR>
&gt;- Dan<BR>
&gt;<BR>
&gt;<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>