Solved

Why can't I retrieve info ?

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

617 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