[D-runtime] Upgraded to latest druntime, and it fails

Walter Bright walter at digitalmars.com
Sat Jan 15 17:39:56 PST 2011


It's the block cache code in src/rt/lifetime.d

Walter Bright wrote:
> ..\dmd -c mydll
>
> ..\dmd mydll.obj ..\druntime\lib\gcstub.obj mydll.def -L/map
>
> implib /noi /system mydll.lib mydll.dll
> Digital Mars Import Library Manager Version 8.41n
> Copyright (C) Digital Mars 2000-2004 All Rights Reserved, 
> www.digitalmars.com
> implib/h for help
> Input is a Windows NT DLL file 'MYDLL.DLL'.
> Output is a Windows NT import library.
> Digital Mars Import Library Creator complete.
>
> ..\dmd testmydll mydll.lib
>
> testmydll
> DLL_PROCESS_ATTACH
> Start Static Link...
> foo()
> Hello world!
> foo() done
> End...
>
> ..\dmd testmydll -version=DYNAMIC_LOAD
>
> testmydll
> Start Dynamic Link...
> DLL_PROCESS_ATTACH
> mydll.dll loaded
> GetProcAddress succeeded
> object.Error: Access Violation
>
> --- errorlevel 1
> _______________________________________________
> 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