How to create a win32 application without window in background with C?

Posted by user563413 on Stack Overflow See other posts from Stack Overflow or by user563413
Published on 2011-01-05T03:48:37Z Indexed on 2011/01/05 3:53 UTC
Read the original article Hit count: 206

Filed under:
|
|
|
|

The application do not need any window or console. It can be a console application if the console window can be removed or can be put into background. The application will do some simple tasks(such as cleaning rubbish files) and exit.

  1. I hope that the application should not be a windows service if possible.

  2. I hope that the application can be started with double-click in explorer window and run silently.

  3. When the application is running, I hope that the mouse cursor should not be changed to hourglass shape. That is to say, do not disturb the user when the application is running. Just run and exit silently.

  4. DO NOT NEED to run it when windows starts or user logins.

I hope this can be done in C if possible. What should I do?

Thanks!

© Stack Overflow or respective owner

Related posts about background

Related posts about mouse