On 27 Nov 2000, Alexandre Julliard wrote:
> Ove Kaaven <[EMAIL PROTECTED]> writes:
>
> > Hm... It seems that the unlinkable variables are GUIDs, like those defined
> > in ddraw.h. Maybe we could instead add to the import tool some kind of
> > .spec directive "initguid (headerfile)", which emits #include
> > "initguid.h", #include "(headerfile)" to the generated .spec.c file,
> > making some kind of extended import library?
>
> GUIDs are a bit different: AFAIK they are not supposed to be imported
> from other dlls, but they must be defined in every file that needs
> them. I believe Francois Gouget is looking into how to implement that
> properly.
Yes. On Windows you are supposed to link with static libraries to get
these GUIDs. I found three such libraries: uuid.lib (the main one),
ciuuid.lib and daouuid.lib.
So the idea would be to have a similar mechanism in Wine: provide a
static library or even a simple '.o' file for each of these.
--
Francois Gouget [EMAIL PROTECTED] http://fgouget.free.fr/
Dieu dit: "M-x Lumière". Et la lumière fut.