I have read a lot of solutions to my problem but none helped. I tried clean, rebuild. Reinstalled visual 2010 and change from professional to ultimate. But still I dont know
The error can be caused by mixing together debug builds and release builds in same executable or dll.