CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2009
    Posts
    6

    [RESOLVED] waiting for process to start

    Was wondering if anybody knew of a way to wait for a process to start before any messages are sent to it.
    I create the process then have a function that will send a message to the button before the process is started. Thanks for any help

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: waiting for process to start

    Best regards,
    Igor

  3. #3
    Join Date
    Jan 2009
    Posts
    6

    Re: waiting for process to start

    Thanks that was what I was looking for! Any ideas if the program has another point where user input is required? It looks like it can only wait once for a process. Thanks

  4. #4
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: waiting for process to start

    Any ideas if the program has another point where user input is required?
    Typically a modal popup dialog is intended for interaction with user, and its popping can be detected by intercepting WM_ENTERIDLE. But reliable interception of messages in a remote process requires some more knowlege, efforts and skills comparing to your original case.

    And the last thing. Automating applications not designed to be automated may eventually appear a real headache.
    Best regards,
    Igor

  5. #5
    Join Date
    Jan 2009
    Posts
    6

    Re: waiting for process to start

    Thanks for the help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured