Re: SHLWAPI ole32 (delay-load of dlls)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

The following (shortened) trace from native SHLWAPI v6 shows that
StrRetToBufA is implemented using LoadLibrary/GetProcAddress to call
CoTaskMemFree, even though ole32 is imported by this version.

08073b00:CALL xpshlwapi.790: StrRetToBufA(<unknown, check
return>08073b00
08073b00:Call kernel32.LoadLibraryA(70bf2c30 "ole32.dll")
ret=70c29f2a
08073b00:Ret  kernel32.LoadLibraryA() retval=40a99000 ret=70c29f2a
08073b00:Call kernel32.GetProcAddress(40a99000,70c2a412
"CoTaskMemFree") ret=70c2a027
08073b00:Call ole32.CoTaskMemFree(403979e0) ret=70bfa1e2
08073b00:Ret  ole32.CoTaskMemFree() retval=00000001 ret=70bfa1e2
08073b00:RET  xpshlwapi.790:
StrRetToBufA(405c6c3c,00000000,405c6d4c,00000100) retval = 00000000
ret=4001d283

If you still want to link directly in this case, ignore the patch
"SHLWAPI ole32" and apply the one below instead. This one just
removes winreg.h from shlwapi_main.c.

Cheers,
Jon



=====
"Don't wait for the seas to part, or messiahs to come;
 Don't you sit around and waste this chance..." - Live

jon_p_griffiths@yahoo.com

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
--- wine/dlls/shlwapi/shlwapi_main.c	Sat Jun  1 11:40:52 2002
+++ wine-develop/dlls/shlwapi/shlwapi_main.c	Tue Jul 16 13:50:10 2002
@@ -21,8 +21,8 @@
 
 #include "winbase.h"
 #include "winerror.h"
-#include "winreg.h"
 #include "wine/debug.h"
+#define NO_SHLWAPI_REG
 #define NO_SHLWAPI_STREAM
 #include "shlwapi.h"
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux