.dll version detection

Andreas Mohr andi at rhlx01.fht-esslingen.de
Mon Jul 22 12:34:33 CDT 2002


On Sun, Jul 21, 2002 at 10:55:59PM +0800, Jan Hurst wrote:
> Hello,
> 
> I have been digging around attempting to get ICQ 2002a to install.
> (appdb
> ->http://appdb.codeweavers.com/appview.php?appId=55&versionId=986)
> 
> (o/t ok shoot me, I like the windows client ;)
*BANG* !

> When attempting to install I notice that wine appears to be testing for
> the presence of a native shdocvw.dll. From my limited debugging ability
> it looks like the ICQ installer is testing for the physical presence
> (and version) of the shdocvw.dll file and then aborting rather than
> attempting to call a missing function and falling over. 
"limited" ?
Sounds like your debugging ability is pretty good ;)
(at least this is a frequent thing to happen, dunno whether this really
happens with your program)

We do have a problem here.
Some programs really query the version information of physically existing DLLs.
(or at least they first try a CreateFile() or similar on them)
We should create "stub" DLLs that only contain the file header (MZ/NE/PE)
and some dummy version information resource.
I had already coded some support for that, but I lost it when I once
accidentally deleted the *remote* Wine tree instead of the *local* one ;-\

One way to do that would probably be to enhance winebuild to also build these
"stub" DLLs.

-- 
Microsoft Licensing 6.0: "Pay us now in advance, so that we can own you later."



More information about the wine-devel mailing list