$ 0 0 Problem Solved. I have changed the libraries to 64bit version and that has fixed the problem. Thanks anyway