Re: Bizarre issue: For loop in DLL (witten in C) breaks early for no obvious reason