C++ Winelib problems

Alexandre Julliard julliard at winehq.com
Tue Jan 22 17:23:34 CST 2002


"Peter Hunnisett" <peter at transgaming.com> writes:

>     I've attached a patch which removes the recursive dep search from
> MODULE_DllProcessAttach and moves MODULE_DllProcessAttach from LoadLibraryExA
> into MODULE_LoadLibraryExA. Does this seem like a reasonable approach to take?
> Any problems with the patch?

I think the current order is correct, and it needs to be done this way
because of circular dependencies. The problem is that you need to
delay calling constructors until the DLL entry point is called. This
probably requires some compiler/linker magic.

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list