modules/pandora_module_exec.cc:62: error: `CreateJobObject' undeclared (first use this function)
Take a look at the comment just above to line 60 of
modules/pandora_module_exec.cc file. There is the solution to that problem. The solution is to open
include windef.h in the Dev-CPP include directory, locate
WINDEF definition and change its value to
The reason is that in the MS Windows®’ DLL there are functions to create jobs process in order to avoid zombies process, but they are not public in the API because a macro that defines the Windows version avoids it. If you change this define to a higher value it will work magically. But only in Windows versions later than 2000. We do not plan to support versions earlier than 2000 so there is no problem.