Shell32: Reimplement SHGetFolder functions

Juan Lang juan_lang at yahoo.com
Mon Sep 13 19:29:47 CDT 2004


--- Alexandre Julliard <julliard at winehq.org> wrote:
> > +static void loadShell32(void)
> > +{
> > +    if (hShell32)
> > +    {
> > +        if (pMalloc)
> > +        {
> > +            pMalloc->lpVtbl->Release(pMalloc);
> > +            pMalloc = NULL;
> > +        }
> > +        /* until it's really unloaded: */
> > +        while (FreeLibrary(hShell32))
> > +            ;
> 
> I'm not sure what you are trying to do here, but
> this causes an
> infinite loop on XP (and it probably should under
> Wine too, since the
> test binary imports shell32).

Really?  Odd, I first wrote this under XP.  I'm trying
to force shell32 to unload; native shell32 caches
values you've already queried and won't reinitialize
them till you reload it.

But thanks, I'll test some more.
--Juan


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com



More information about the wine-devel mailing list