<P>
One day thus spake Martin Fuchs:<BR>
<BR>
&gt;I am working on the ReactOS Explorer, which uses Wine's shell32 implementation.<BR>
&gt;We already have made many bugfixes and estensions to the shell link and other<BR>
&gt;shell32 code. One of those extensions is the implementation of control panel in<BR>
&gt;shell namespace<BR>
<BR>
I am already aware of that (thanks to Steve), and I would appreciate if someone could send me the changes/patches to shell32 by the ReactOS team (even if the source does not compile) so I can have a look..<BR>
Perhaps you can send me a zip of the ReactOS shell32 directory (keep the makefiles and .defs out - send just the real source :) ) ? That will be nice<BR>
<BR>
&gt;Well, I think it's because it has been defined wrong. I am currently using this<BR>
&gt;definition:<BR>
<BR>
&gt;#define SCF_UNICODE 0x80&nbsp; &nbsp; &nbsp; &nbsp; (instead of 0x1000)<BR>
<BR>
&gt;This is at least compatible to links of WIN95 (ANSI strings) and WIN XP (UTF16 strings).<BR>
&gt;I did not yet test any other operating system versions. With this corrected<BR>
&gt;defintion and a few more extensions Stream_LoadString() works pretty well<BR>
&gt;on ReactOS.<BR>
<BR>
Hmm..., I KNOW 'SCF_UNICODE' is NOT 0x1000 in the first place, but why do you say it's 0x80 ?<BR>
<BR>
Going by the copyrights, Marcus Meissner and Juergen Schmied did the initial job, and perhaps one of them put this value.<BR>
I don't know about Juergen, but I have tremendous faith in Marcus (I use SuSE you see ;) ), and there MUST have been some reason why 'SCF_UNICODE' got the value 0x1000, although it seems to be wrong !<BR>
<BR>
Hence, please consolidate your assigning it 0x80 with some examples/hexedits so that I can answer when I get grilled ;)<BR>
<BR>
However, I think that we should ALL handle strings as Unicode internally, and convert to ANSI when required, and NOT the other way round.<BR>
Hence, we will be compatible with Win98/ME/2K/XP, as that's what M$ does...<BR>
If you see my code carefully, you will notice that EVERYTHING is handled as Unicode internally.<BR>
<BR>
The flag 'SCF_UNICODE' is used to test the bit mask and determine if the .lnk is serialized in Unicode or not...<BR>
I am pretty sure that Windows &gt;95 handle EVERYTHING in Unicode, and thus a wrong value of 'SCF_UNICODE' will ONLY mess up Win95 .lnk files !<BR>
<BR>
If you can consolidate your defining 'SCF_UNICODE' as 0x80, I will ONLY be too happy to incorporate that, else those still using Win95 (?) may suffer, as Win95 handles strings as ANSI and not Unicode...<BR>
<BR>
Will send Alexandre my patch within the next few days as no one has objected to it being messy, so take the last chance ;)<BR>
<BR>
BTW Martin, great work with ROSExplorer, keep at it, and one day WINE will have a complete Desktop with shell namespaces !<BR>
<BR>
Regards<BR>
<BR>
Subhobroto Sinha <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>