I have an app whose job it is to process data coming from a com port at either 2 or 60 second intervals. Obviously, it doesn't make sense to have this app subject to standby. Three things occur to me 1) tell windows periodically that things are happening that should delay standby 2) disable standby 3) detect that standby is configured and warn the user. IMHO, (1) would make the most sense.
So what do such application usually do?
How do I go about doing it c++?