Run a program in the background
Hi guys, I'm calling for a little help again :)
I'm currently planning to make a little application to monitor a certain (public) directory on our company server to check for new internal orders (semicolon separated text files generated by another app I've made).
What I'd like to do is create an application that's running in the background of Windows and only becomes active, or pops up once there's a new order.
Therefore I was thinking of either:
1) Make an application that runs as a Windows process and only let it appear if a new order is placed
2) Minimize the application to the system tray and only let it appear if a new order is placed
My questions are:
1) Are the two options above even possible to make in C?
2) If so, how?
3) Or... Is there a better option than the two above?
Thanks a lot in advance!