strange, does this happen with the corresponding C version?
and what happens if you inject a D dll without changing that value?