Ok maybe there some build configurastion problem, or some type incompatibility. Can you also paste your code?