You tell us...does it compile? Are there exceptions? Does it misbehave, and if so, what do you expect and what do you get? You can't expect us to guess, nor read that code, so please read the forum...