PE Conversion

Georg Lehmann dadschoorse at gmail.com
Sat Aug 21 04:18:16 CDT 2021



On 21.08.21 05:00, Esme Povirk (she/they) wrote:
> For windowscodecs we could use win32 builds (PE or static) for the
> dependencies. The interface was designed to make it easy to switch to
> this, we just need to resolve the question of how we're managing those
> dependencies.
> 
> I don't know if there are any other dlls that need callbacks from a
> unix library that can't be built for win32.

winevulkan, which currently uses __wine_init_unix_lib, uses direct 
callbacks to implement VK_EXT_debug_utils/VK_EXT_debug_report.


> 
> 
> On Fri, Aug 20, 2021 at 11:13 AM Alexandre Julliard <julliard at winehq.org> wrote:
>>
>> "Esme Povirk (she/they)" <esme at codeweavers.com> writes:
>>
>>> On Fri, Aug 20, 2021 at 9:03 AM Alexandre Julliard <julliard at winehq.org> wrote:
>>>> Yes, exactly. __wine_init_unix_lib is an intermediate step that will go
>>>> away eventually. New code should ideally be using __wine_unix_call from
>>>> the start, if possible.
>>>
>>> Does this mean that we shouldn't have calls from unixlibs back into PE code?
>>
>> Yes, direct callbacks cannot be supported. We may need to consider
>> adding an extension to the user32 callback mechanism for this.
>>
>> --
>> Alexandre Julliard
>> julliard at winehq.org
> 



More information about the wine-devel mailing list