posted 19 years ago
Shall it work with different programs, or just with one?
If it works for just one program, it could be a part of the program, but of course couldn't exactly measure from before starting - end of program.
You could display the result in a dialog or frame, which has to be closed, after the rest of the program has finished and stopped the timer.
Another way would be to communicate over sockets, but in this case too, the program started running before sending the message.
Is exactness of milliseconds important?
The last question:
(untestet)
[ September 06, 2004: Message edited by: Stefan Wagner ]