Results 1 to 7 of 7

Thread: How command line prog with progress bar in form....

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Quote Originally Posted by azrael11 View Post
    That is the problem
    How can i know what the command line program reads and how can i count a command line execution file the last number so i can use it...
    program.exe has to tell your program what its progress is, like i mentioned in my last post. Whatever method you pick it will slow down the progress somewhat.

    I'd propably go with broadcasted Windows messages. You can read more details from msdn:
    SendMessage: http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
    GetMessage: http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx

    General helpful link:
    http://www.google.fi/#sclient=psy&hl...cd37774a490ead

    If your program.exe is an application you haven't made yourself there is simply no way. Well... only hacking in it with dll injection or something and reading its memory space, but lets ignore that
    Last edited by User137; 01-04-2011 at 03:21 PM.

Bookmarks

Posting Permissions

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