BCS wrote: > static delegate(MyObject) Build(uint i, uint k) > { > Ctx c; > c.h = k; > c.l = i; > return &c.FillS; > } Looks like you're returning the address of a stack variable, which will cause erratic behavior.