Thread overview
[D-runtime] _moduleCtor() has disappeared from druntime
Dec 29, 2011
Walter Bright
Jan 03, 2012
Sean Kelly
Jan 08, 2012
Walter Bright
Jan 08, 2012
Martin Nowak
Jan 08, 2012
Walter Bright
Jan 11, 2012
Walter Bright
December 29, 2011
Please put it back. Windows DLL support is now broken because it's gone.


January 03, 2012
On Dec 29, 2011, at 2:03 AM, Walter Bright wrote:

> Please put it back. Windows DLL support is now broken because it's gone.

I'm ostensibly back at work today.  I'll give this a look.
January 07, 2012

On 1/3/2012 10:50 AM, Sean Kelly wrote:
> On Dec 29, 2011, at 2:03 AM, Walter Bright wrote:
>
>> Please put it back. Windows DLL support is now broken because it's gone.
> I'm ostensibly back at work today.  I'll give this a look. _______________________________________________
>

That's fixed, but now __moduleDtor is undefined.
January 08, 2012
On Sun, 08 Jan 2012 02:10:56 +0100, Walter Bright <walter at digitalmars.com> wrote:

>
>
> On 1/3/2012 10:50 AM, Sean Kelly wrote:
>> On Dec 29, 2011, at 2:03 AM, Walter Bright wrote:
>>
>>> Please put it back. Windows DLL support is now broken because it's gone.
>> I'm ostensibly back at work today.  I'll give this a look. _______________________________________________
>>
>
> That's fixed, but now __moduleDtor is undefined.
> _______________________________________________
> D-runtime mailing list
> D-runtime at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime

It's really a bug of any code to rely on internal function names. There is core.runtime.Runtime.initialize().

Which dlls are referring to these functions?
January 08, 2012

On 1/8/2012 8:45 AM, Martin Nowak wrote:
> On Sun, 08 Jan 2012 02:10:56 +0100, Walter Bright <walter at digitalmars.com> wrote:
>
>>
>>
>> On 1/3/2012 10:50 AM, Sean Kelly wrote:
>>> On Dec 29, 2011, at 2:03 AM, Walter Bright wrote:
>>>
>>>> Please put it back. Windows DLL support is now broken because it's gone.
>>> I'm ostensibly back at work today.  I'll give this a look. _______________________________________________
>>>
>>
>> That's fixed, but now __moduleDtor is undefined. _______________________________________________
> It's really a bug of any code to rely on internal function names. There is core.runtime.Runtime.initialize().
>
> Which dlls are referring to these functions?
>

The sample code. Those functions are the original design for the DLL support; whether they are good or bad is less relevant than the arbitrary breakage of existing code.
January 11, 2012

On 12/29/2011 2:03 AM, Walter Bright wrote:
> Please put it back. Windows DLL support is now broken because it's gone.
>

Now it's _moduleTlsCtor() and _moduleTlsDtor() that are missing.