wininet: let automated testers force all DNS lookups to return localhost

Dan Kegel dank at kegel.com
Fri Oct 31 11:06:06 CDT 2008


On Fri, Oct 31, 2008 at 8:51 AM, Henri Verbeet <hverbeet at gmail.com> wrote:
> 2008/10/31 Dan Kegel <dank at kegel.com>:
>> How would we do this on Windows?   (We need the
>> winetest results to be reliable, too.)
>> That was the main reason I didn't go for LD_PRELOAD...
>> I guess we do some sort of DLL injection, but I haven't done
>> it personally before.
>>
> You could patch the IAT, but that's quite a bit less nice than
> LD_PRELOAD, of course.

The thing is, I want to support running tests on Windows as well.
May as well do it the same way everywhere...
- Dan



More information about the wine-devel mailing list