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

Sean Kelly sean at invisibleduck.org
Tue Apr 19 11:06:06 PDT 2011


I haven't had time to boot into Windows to test this yet, but here you go:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dll2.zip
Type: application/zip
Size: 959 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/d-runtime/attachments/20110419/c7ad357b/attachment.zip>
-------------- next part --------------


On Apr 16, 2011, at 10:20 PM, Walter Bright wrote:

> 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
>> 
>> 
> _______________________________________________
> 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