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.