Why can't I retrieve info ?

I createprocess a process in my process and call findwindow() to get a specified window handle but I fail.
The logic behind is very simple but why I fail?
i get nuts lunatic ,plz help asap.
 
bb_2000Asked:
Who is Participating?
 
WynConnect With a Mentor Commented:
Add WaitForInputIdle() before FindWindow().
0
 
AlexVirochovskyCommented:
Can you post here snippet of you code?
And use GetLastError() for detect the
reason of error.
0
 
bb_2000Author Commented:
Thank you.
I really appreciate your comment.It works !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.