COFF error?

It shows the error: error LNK1123: failure during conversion to COFF: file invalid or corrupt C:\Users\USERNAME\documents\visual studio 2010\Projects\Test Injector\Test Injector\LINK


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 #include <windows.h>
#include <tlhelp32.h>
using namespace std;


int main() {
PROCESSENTRY32 pe32;
HANDLE hProcess;
HANDLE hProcess1;

hProcess1 = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0);
if (Process32First(hProcess1, pe32) {
	do{
		cout << "File: " << pe32.szExeFile;
		cout << "File Process: " << pe32.th32ProcessID;
	}while(Process32Next(hProcess1, pe32);
	cin.get()
		return 0;}

Install Visual Studio SP1 to correct the issue.

Thanks, it actually showed the errors when I downloaded it, I was able to fix it soon after.
Topic archived. No new replies allowed.