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

Sean Kelly sean at invisibleduck.org
Fri May 11 15:30:21 PDT 2012


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, 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
>> _______________________________________________
>> D-runtime mailing list
>> D-runtime at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/d-runtime
> _______________________________________________
> D-runtime mailing list
> D-runtime at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime



More information about the D-runtime mailing list