In the given example of the D1 std.md5, this line can be found: while ((len = fread(buffer, 1, buffer.sizeof, file)) != 0) This isn't working here (DMD v1.042, Windows XP Pro). I had to replace it with: while ((len = fread(buffer.ptr, 1, buffer.sizeof, file)) != 0) ^^^
*** Issue 3331 has been marked as a duplicate of this issue. ***
Reassigning D1 issue to Walter.
Fixed in r2291.