[D-runtime] druntime fixes again break Windows DLL support

Walter Bright walter at digitalmars.com
Sat Apr 16 22:20:51 PDT 2011


Have you been able to look at this, yet?

On 3/28/2011 9:04 AM, Sean Kelly wrote:
> Sounds like we need an automated test for this. The helper modules moved to core.sys.windows. Where is the dll code that broke?  I'll fix it.
>
> FWIW, I didn't think the helper modules should be explicitly called by the user at all. If this isnt true then the DLL use process needs a look.
>
> Sent from my iPhone
>
> On Mar 27, 2011, at 12:18 PM, Walter Bright<walter at digitalmars.com>  wrote:
>
>> ..\dmd mydll.obj ..\druntime\lib\gcstub.obj mydll.def -L/map
>> OPTLINK (R) for Win32  Release 8.00.12
>> Copyright (C) Digital Mars 1989-2010  All rights reserved.
>> http://www.digitalmars.com/ctg/optlink.html
>> mydll.obj(mydll)
>> Error 42: Symbol Undefined _D4core10dll_helper18dll_process_attachFT4core3sys7windows7windows6HANDL
>> EbZb
>> mydll.obj(mydll)
>> Error 42: Symbol Undefined _D4core10dll_helper18dll_process_detachFT4core3sys7windows7windows6HANDL
>> EbZv
>> mydll.obj(mydll)
>> Error 42: Symbol Undefined _D4core10dll_helper12__ModuleInfoZ
>> --- errorlevel 3
>> _______________________________________________
>> 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