I am using VS 2010 express but everytime when I open something in Win32 cosole application or any other projects, I keep getting build error. But everytime I start my new project with Empty Project, it always works well...nothing but Empty Project works. BTW, I coded properly and even used sample Win32 console application source codes and it still gives me an error. Is there something wrong with my computer setting?
------ Build started: Project: rwtwtwtwtw, Configuration: Debug Win32 ------
dfgdfgdf.cpp
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Answer
If you search for LNK1123, you will find that it is very frequently caused by having VS2010 installed along with another version if Visual studio (googling for strange error codes is a useful technique!). If you have this situation, it appears that upgrading VS2010 to service pack 1 will fix it.
No comments:
Post a Comment