error LNK2005 
在你的代码中是不是有类似的用法:
int * pi=new(int);
.......
delete *pi;
如果有的化,你应该把delete *pi;改为delete pi;至于其他的错误,请查MSDN