I am creating a process using CreateProcess method.
How can i know if it creates a window handle or not?
Printable View
I am creating a process using CreateProcess method.
How can i know if it creates a window handle or not?
Man! This problem was discussed yesterday in your previous thread :eek:
Please dont misunderstand me.....
When we create a process, we may open an application which might have a handle and which might not have a handle also.
My question is how to know if the created application has a window or not
I don't know any way other than enumerating all windows and check the process ID they were created by.
Like Victor said, use EnumThreadWindows().