1

My situation :

Process A will call process B, that means process B is the child process of process A.

How we can capture what process will be called by process A?

Example Process A : bcc55.exe hello.c

Will automatically call process B : ilink32.exe Now give you the process A, how to find the process B.

devOp
  • 3,150
  • 1
  • 18
  • 32
TrangVu
  • 43
  • 7

2 Answers2

0

See my answer here to see how to enumerate child processes for a given windows process ID. You can first get the process ID by EXE name using the code here

Community
  • 1
  • 1
Mike Marshall
  • 7,788
  • 4
  • 39
  • 63
0

You can hook the various CreateProcess* functions, run your own code (perhaps to record what's been called) and then call the original function with the same parameters. It can get fiddly though :)

Stuart Golodetz
  • 20,238
  • 4
  • 51
  • 80