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
Bookmarks