26

Re: Reasons ERROR_DLL_INIT_FAILED

O>> And what  global objects with designers are which are constructed __ dllmain (and as a matter of fact - in it)? I with  had for a long time no affairs, I do not remember as at it with it. A> it is not clear that is meant the term "to dllmain". How my code can receive control to a call dllmain? Anyway in dllmain there is only a selection of a small amount of storage under the list and its filling. It can be and not your code.  brains, I recalled about unit initialization - so xnj for example, all that in section initialization the connected units in your project (including  bpl or as they there now ) - it will be executed inside dllmain.

27

Re: Reasons ERROR_DLL_INIT_FAILED

M>> lay out, it is desirable so that it could be launched without dances. A> the link. In archive two dll: good.eDecoder.32.dll - in this dll both functions from wininet.dll Link any more does not work. Therefore a question: and whether is not present there in dependences what or still , which itself depends on the same ?

28

Re: Reasons ERROR_DLL_INIT_FAILED

Hello, ononim, you wrote: O> I recalled about unit initialization It I understand. About unit initialization I spoke, when meant initialization of the structures in dllmain. And itself Delphi in real dllmain also anything especial does not do.

29

Re: Reasons ERROR_DLL_INIT_FAILED

Hello, ononim, you wrote: M>>> lay out, it is desirable so that it could be launched without dances. A>> the link. In archive two dll: good.eDecoder.32.dll - in this dll both functions from wininet.dll O> the Link any more does not work. Thought that already it is necessary for nobody. . Therefore a question: and whether is not present there in dependences what or still , which itself depends on the same ? I tried to look at dependences in DepWalker, but with these modern api-ms-win-*.dll  it is not clear.

30

Re: Reasons ERROR_DLL_INIT_FAILED

M>>>> lay out, it is desirable so that it could be launched without dances. A>>> the link. In archive two dll: good.eDecoder.32.dll - in this dll both functions from wininet.dll O>> the Link any more does not work. A> thought that already it is necessary for nobody. . It was not possible to find to unwinding of potential problems.

31

Re: Reasons ERROR_DLL_INIT_FAILED

Hello, EreTIk, you wrote: ETI> If the choice falls on WinDbg Used your council and began to pick WinDbg. In it saw that falling happened on loading wininet.dll. But in case of successful loadings right after loadings wininet.dll there was a library loading  ViPNet CSP. I uninstalled this  and the problem disappeared. Honor of loader Windows is recovered. The problem is solved, thanks all responded.

32

Re: Reasons ERROR_DLL_INIT_FAILED

A> I uninstalled this  and the problem disappeared. Honor of loader Windows is recovered. The problem is solved, thanks all responded. I too  faced glitches    which   and  all that under a hand got