I have used past examples and input from the master denizen's for a number of good system DLL calls. Now the serious part.
I only know enough to get into serious trouble making a system DLL call. So I would like to leave that to the pro's here. What I need is a way to get to the system metrics like system process and CPU usage. I am using a nice GUI that can compress PNG graphic files. It's only nice because it has all the options (check box'es etc..) to make the calls to the cmdline program. It falls down and goes boom when an error on conversion happens. Since the cmdline program can be called repeatedly, multi-threading is possible, more like multi-switching.
If I can monitor process and CPU I can determine when I should make another shell call. It's a re-write for the defective GUI program.
This would make another great tool, for other cmdline driven programs.
Any takers ?