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

Sean Kelly sean at invisibleduck.org
Thu Apr 28 12:26:41 PDT 2011


The easiest thing is to replace the "import core.dll_helper" with "import core.sys.windows.dll".  The dll.d module actually has convenience functions that encapsulate what's done manually in the DLL test, but fixing that just makes the code cleaner--it shouldn't alter the result.

On Apr 28, 2011, at 12:14 PM, Walter Bright wrote:

> I deleted all the .di files. Still fails the test suite:
> 
> ..\dmd -c mydll
> mydll.d(12): Error: module dll_helper is in file 'core\dll_helper.d' which cannot be read
> import path[0] = \cbx\mars\phobos
> import path[1] = \cbx\mars\druntime\import
> 
> --- errorlevel 1
> 
> I know it's because core\dll_helper.d is gone, but the tests need to be fixed, and I'm not sure what needs to be done with them.
> 
> _______________________________________________
> 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