Solved

Why can't I retrieve info ?

Posted on 2000-03-19
3
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 2634850
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
ID: 2634858
Add WaitForInputIdle() before FindWindow().
0
 

Author Comment

by:bb_2000
ID: 2634922
Thank you.
I really appreciate your comment.It works !
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

734 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