Wine as shared library patch

Robert Shearman R.J.Shearman at warwick.ac.uk
Sun Mar 7 19:03:18 CST 2004


Alexandre Julliard wrote:
> Miguel de Icaza <miguel at ximian.com> writes:
>
> > Well, the issue is that our WinMain is never called, and we would
> > rather not depend on this in our patch, but instead get the small
> > global that says `Hey Wine, just return'.
>
> The global variable thing is ugly; we could export a different entry
> point instead, but I'm not sure it's really necessary. Why doesn't
> your WinMain get called?

The cleanest solution would be to let WinMain get called, but if that isn't
possible then we could always add an extra parameter to wine_init and pass
that down to __wine_kernel_init.

Rob





More information about the wine-devel mailing list