But I get an error at linking: 1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
ok so you have gone into the cudaminer source folder
run
cudaminer.slnyou will see part of the program that looks like this;

change the part in the red area to what i have, click the green play button and wait, let me know how it goes