<P>&nbsp;Hi,
<P>I should clarify.&nbsp;Versions 6 and higher (XP+) of SHLWAPI are linked via delayed import to ole32. This is a change from previous versions because versions&nbsp;5xs and below could be installed on installations that didn't have ole32 installed. SHLWAPI used to come with IE, and as such it was an add on to v3.1+, where sometimes ole32.dll was not available. The latest versions require ole32, however if Wine is running as a previous version it&nbsp;should _not_ be a requirement that this dll be installed.
<P>The situation is similar with other DLLs that used to be called through fn pointers fromm SHLWAPI and are now linked directly. Now that MS is dealing with one OS installation (read: you get everything), they no longer have to consider that an installation may not have some DLLs. In the Wine world though, it is not unreasonable for this to be the case (e.g no-window installation, pre-XP version etc). So I think calling through function pointers for these cases is the correct course of action. Its certainly more backwards compatable.
<P>If&nbsp;we should directly link with ole32 then we should probably remove the FIXME from Makefile.in. If we follow this path, we should eventually also link with the other DLLs that version 6 delay loads instead of being optional as before: apphelp, mlang, comctl32, mpr, msi, setupapi, userenv, winmm etc.</P>
<P>Cheers,</P>
<P>Jon
<P>&nbsp;
<P>&nbsp; <B><I>Alexandre Julliard &lt;julliard@winehq.com&gt;</I></B> wrote: 
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">"J�rgen Schmied" <JUERGENSCHMIED@LYCOS.DE>writes:<BR><BR>&gt; This is not completely right. shlwapi loads ole32 per delay-load what <BR>&gt; means nearly its linking against it. We don't have anything similar at <BR>&gt; the moment. I don't think we should do anyting by function pointers.<BR>&gt; Maybe we could generate stubs during the build process to implement<BR>&gt; delay loading. It don't looks to hard to implement.<BR><BR>It's already implemented, you just have to list them as DELAYIMPORTS<BR>instead of IMPORTS in the makefile.<BR><BR>-- <BR>Alexandre Julliard<BR>julliard@winehq.com</BLOCKQUOTE><BR><BR>"Don't wait for the seas to part, or messiahs to come;<br> Don't you sit around and waste this chance..." - Live<br><br>jon_p_griffiths@yahoo.com<p><br><hr size=1><b>Do You Yahoo!?</b><br>
New! <a href="http://pa.yahoo.com/*http://rd.yahoo.com/sbcyahoo/consumer/evt=640/*http://sbc.yahoo.com" target="_blank">SBC Yahoo! Dial</a> - 1st Month Free &amp; unlimited access