|
-
February 3rd, 2009, 12:03 PM
#7
Re: SendMessage Problem
Thats because CreateProcess just immediately returns, so the window isn't fully created yet when you call FindWindow.
If you look at CreateProcess on MSDN it stats in the 'Remarks' section that you can use WaitForIdleInput to wait until the process has completed loading.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|