data type problem

I have a data type problem
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DWORD procNameToPID(const char *procName)
{
	HANDLE snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
	if (snapshot == INVALID_HANDLE_VALUE) 
		MSGRET("Unable to create snapshot.", 0)

	PROCESSENTRY32 process;
	process.dwSize = sizeof(PROCESSENTRY32); 
	
	Process32First(snapshot, &process);
	do
	{
		if (strstr(process.szExeFile, procName))
			return process.th32ProcessID;
	}
	while (Process32Next(snapshot, &process));
	
	return 0; 
}

I've got an error in line 13
error C2665: 'strstr' : none of the 2 overloads could convert all the argument types
what can I do ?
Topic archived. No new replies allowed.