On which OS are you working on? Are you shure that you are linking against the correct libraries? On windows it's quite easy to mix release/debug versions and different runtime versions. greetings Achim