It turns out that the processentry32 structure contents are slightly different on 2000/XP than they are on 95/98/Me according to the docs. szExeFile Pointer to a null-terminated string that specifies the name of the executable file for the process. Windows 2000/XP: The file name does not include the path. Windows 95/98/Me: The file name includes the path. Ensure that we check for the target values at the end of the string.
9.4 KiB
9.4 KiB