|
|
http://www.sourceforge.net/projects/tailforwin32
However, this program is currently not able to accept a filename to open
on the commandline, so I can't call it from my gui. This issue is filed
as a bug on sourceforge, and there is a description on how to fix it.
If someone has the time todo this, or knows of another viewer with "tail
-f" functionality it would be great...
tail -f functionality for win is anyways less than 20 lines of code..
just spawn new thread (cause you can't select nothing but sockets in
win) then read contents of file, print last 10 lines and for the
'-f'-part use FindFirstChangeNotification + appropriate 'wait-function'.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/findfirstchangenotification.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/wait_functions.asp
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|