ole32: Forward BSTR functions to oleaut32

Jacek Caban jacek at codeweavers.com
Wed Jul 18 08:06:31 CDT 2012


On 07/18/12 15:00, Alexandre Julliard wrote:
> Jacek Caban <jacek at codeweavers.com> writes:
>
>> @@ -1244,6 +1244,9 @@ static void COMPOBJ_InitProcess( void )
>>  static void COMPOBJ_UninitProcess( void )
>>  {
>>      UnregisterClassW(wszAptWinClass, hProxyDll);
>> +
>> +    if(oleaut32_instance)
>> +        FreeLibrary(oleaut32_instance);
> Since oleaut32 imports ole32 you'll never get here.

Oh, right, that was stupid.

> Using a delayed import would probably be easier.

That was my first idea, but I realized that in this case we may easily
end up using oleaut32 in ole32 by accident in places that shouldn't do so.

Jacek



More information about the wine-devel mailing list