Change your if to use wide string for "explorer.exe"
as
if(!wcscmp(pe32.szExeFile, L"explorer.exe")
ie use L"explorer.exe"
to compare with wide string.
You can also settings in your VC project to use UNICODE character set, through Project->Settings->Configuration Properties->General.