Jacek Caban jacek@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. Using a delayed import would probably be easier.
On 07/18/12 15:00, Alexandre Julliard wrote:
Jacek Caban jacek@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