Solved

Why can't I retrieve info ?

Posted on 2000-03-19
3
210 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Which IDE to use to begin C++ training? 5 63
PDF library for Delphi 2 120
C++ question 3 65
Microsoft C++ code failing in executable that worked 9 97
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
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 member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

776 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