winebuild and circular DLL dependencies

Ove Kaaven ovehk at
Fri Oct 12 06:59:04 CDT 2001

On 11 Oct 2001, Alexandre Julliard wrote:

> Ove Kaaven <ovehk at> writes:
> > Well, can this be done with delayed imports yet? I have a situation here
> > where ole32 imports stuff from rpcrt4 (windows uses delayed imports for
> > that), and rpcrt4 imports stuff from ole32 (again, windows uses delayed
> > imports). It would be nice if I could use the winebuild delayed import
> > mechanism to achieve this, instead of doing it manually with callout
> > tables and stuff... but I suppose winebuild has to be changed to read
> > the .spec files instead of using nm on compiled libraries... anyone
> > working on it?
> No, and I don't think it's a desirable feature, it's too error-prone.
> Besides, circular dependencies are really something to avoid, so it
> must not be too easy to do... (what does rpcrt4 need from ole32 BTW?)

Well, I had confirmed that Windoze's rpcrt4 imports CoMarshalInterface/
CoUnmarshalInterface (for usage in NdrInterfacePointerMarshall/Unmarshall)
and CoTaskMemAlloc/CoTaskMemFree (for usage in NdrOleAllocate and
NdrOleFree), and a few others.

More information about the wine-devel mailing list