From: Lionel Ulmer <lionel.ulmer@free.fr>
To: qemu-devel@nongnu.org
Cc: Darwine Devel <darwine-devel@lists.sourceforge.net>
Subject: Re: [Qemu-devel] Qemu: darwine flavour or bellard flavour?; darwine-qemu-fast?; darwine-wine-ppc+darwine-qemu-x86?
Date: Wed, 9 Jun 2004 21:58:31 +0200 [thread overview]
Message-ID: <20040609215831.A21947@bbland> (raw)
In-Reply-To: <40C76973.3070608@bellard.org>; from fabrice@bellard.org on Wed, Jun 09, 2004 at 09:48:03PM +0200
> > http://www.winehq.com/site/docs/wine-faq/index#INTEGRATE-AN-X86-EMULATOR
>
> You should add an automatic stub code generator which generates code to
> swap the arguments for all wine entry points.
Which would work (maybe) for Win16 applications or 'simple' Win32 ones, but
as soon as you start to use COM, you need to take great care as there is
currently no way to know which are all the 'exported' functions (as they are
stored in VTables).
Moreover, in the current Wine code, there is absolutely no difference
between some Win32 code calling a Wine function or a Wine DLL calling a
function in another DLL. So there would need to be a way to differentiate
both (and it's the same issue for COM objects, as they can be invoked either
from Win32 or from Wine code).
Lastly, there is the issue of all the 'opaque' data types - data types for
which the format is known only once some processing has been done in the
called function (for example, a bitmap, a texture or some vertex buffer).
Lionel
--
Lionel Ulmer - http://www.bbrox.org/
prev parent reply other threads:[~2004-06-09 19:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-09 6:09 [Qemu-devel] Qemu: darwine flavour or bellard flavour?; darwine-qemu-fast?; darwine-wine-ppc+darwine-qemu-x86? John Davidorff Pell
2004-06-09 13:56 ` Pierre d'Herbemont
2004-06-09 19:48 ` Fabrice Bellard
2004-06-09 19:58 ` Lionel Ulmer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040609215831.A21947@bbland \
--to=lionel.ulmer@free.fr \
--cc=darwine-devel@lists.sourceforge.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).