#1 winhttp: Forward WinHttpTime{From, To}SystemTime to their
counterparts in wininet.
Jakob Eriksson
jakob at vmlinux.org
Mon Aug 6 13:30:46 CDT 2007
Jacek Caban wrote:
> Hans Leidekker wrote:
>
>> I haven't seen a convincing argument for code duplication yet.
>>
>
> Then why do you want to add hacks instead of proper implementation?
>
>
>> We may
>> even be able to achieve 100% by extending wininet a bit. E.g. we could
>> add a Wine internal INTERNET_OPTION_CALLBACK_WINHTTP if we find an app
>> that depends on winhttp specific behavior of callbacks.
>>
>>
>
> It'd be not only an ugly hack, but also unneeded code complication.
>
Alright then. The pretty solution IMHO, is to create a third DLL, which
both wininet and winhttp use.
(Derive from.)
That's how you usually refactor code.
regards,
Jakob
More information about the wine-devel
mailing list