[D-runtime] Windows DLL support breaks again with latest druntime

Walter Bright walter at digitalmars.com
Fri May 11 16:13:45 PDT 2012



On 5/11/2012 3:30 PM, Sean Kelly wrote:
> The dll example clearly needs to be updated, but I find it interesting that it didn't fail before when compiling against a deprecated function?  Do these tests have -d on the command-line,

Yes.

>   or is it enough hat core.thread itself is build with -d?
>
> On May 11, 2012, at 3:05 PM, Alex Rønne Petersen wrote:
>
>> It had been deprecated for eons and was finally removed recently. The
>> new function to use is thread_findByAddr.
>>
>> Regards,
>> Alex
>>
>> On Sat, May 12, 2012 at 12:02 AM, Walter Bright<walter at digitalmars.com>  wrote:
>>> ..\dmd -g -d -ofmydll2.dll -version=use_patch mydll2.d dll2.d mydll2.def
>>> dll2.d(53): Error: no property 'findThread' for type 'core.thread.Thread'
>>>
>>> --- errorlevel 1
>>>


More information about the D-runtime mailing list