Solved

Why can't I retrieve info ?

Posted on 2000-03-19
3
201 Views
Last Modified: 2010-04-02
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.
 
0
Comment
Question by:bb_2000
3 Comments
 
LVL 14

Expert Comment

by:AlexVirochovsky
Comment Utility
Can you post here snippet of you code?
And use GetLastError() for detect the
reason of error.
0
 
LVL 5

Accepted Solution

by:
Wyn earned 300 total points
Comment Utility
Add WaitForInputIdle() before FindWindow().
0
 

Author Comment

by:bb_2000
Comment Utility
Thank you.
I really appreciate your comment.It works !
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now