Question: How to link kernel32.dll.so to get loaded at a fixed
dank at kegel.com
Thu Nov 15 09:52:19 CST 2007
Chris McKillroy asked:
> I tried to use a DLL injection ...
> Under Solaris10 (wine version 0.9.49) the child process regularly
> crashed... [because] kernel32.dll.so
> always gets loaded to a varying address by the runtime linker
Yep. Known problem with Wine.
> After a posting to the Solaris Linker mailing list we got an answer
> My question now is:
> How would I have to change things (makefile or whatsever) to get
> kernel32.dll.so linked in a way to achive that it will be loaded to
> address 0x7bf0000 each time under Solaris.
Good question. It's probably pretty involved; you may have to wait
for an expert to try it and see what it breaks. Alexandre suggested
it might not work recently (see
http://bugs.winehq.org/show_bug.cgi?id=10273#c17 ), but
perhaps he's being overly pessimistic.
BTW if that idea works for Solaris, it might work for Linux, too.
More information about the wine-devel