On Sun, Aug 13, 2000 at 05:31:23PM +0000, Eric Pouech wrote:
> Andreas Mohr wrote:
> > 
> > Hi Eric,
> > 
> > we still get
> >         ERR("IData not found for pid=%08lx. Suicide !!!\n", GetCurrentProcessId());
> > , the DllEntryPoint *never* has to be called !!
> > And Wine does just that: it doesn't call it.
> what ? for implicit loaded DLLs, LibMain is called when InitTask is performed, so
> it seems there's a bad dependency in DLLs loading sequence somewhere
> 
> could you also post the same trace but with -debugmsg +dll
No, that's not the case.
tools/winebuild/README says:
"init" specifies a function which will be called when this dll
is loaded. This is only valid for Win32 modules.

And NE_InitDLL gets called for mmsystem.dll.
And of course it stops right here:
    if (!pModule->cs) return TRUE;  /* no initialization code */

This is because of:
    pModule->cs = 0;
in tools/winebuild/spec16.c/BuildModule16().

So what to do ?
Implement init functions for Win16 builtins or what ?

Andreas Mohr

Reply via email to