asked on
C is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations. By design, C provides constructs that map efficiently to typical machine instructions, so it has found lasting use in applications that had formerly been coded in assembly language, including operating systems as well as various application software for computers ranging from supercomputers to embedded systems. It is distinct from C++ (which has its roots in C) and C#, and many later languages have borrowed directly or indirectly from C.
TRUSTED BY
I'm assuming that you're calling CreateProcess?
What access rights are you requesting in the call? Start with minimal access and "work up".
PROCESS_QUERY_INFORMATION
or
PROCESS_QUERY_LIMITED_INFO
See if either of these succeed.
Kent