Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 896209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T14:41:28+00:00 2026-05-15T14:41:28+00:00

I have a C++ Win32 application that was written as a Windows GUI project,

  • 0

I have a C++ Win32 application that was written as a Windows GUI project, and now I’m trying to figure out to make it into a Service / GUI hybrid. I understand that a Windows Service cannot / should not have a user interface. But allow me to explain what I have so far and what I’m shooting for.

WHAT I HAVE NOW is a windows application. When it is run it places an icon in the system tray that you can double-click on to open up the GUI. The purpose of this application is to process files located in a specified directory on a nightly schedule. The GUI consists of the following:

  • A button to start an unscheduled scan/process manually.
  • A button to open a dialog for modifying settings.
  • A List Box for displaying status messages sent from the processing thread.
  • A custom drawn window for displaying image data (the file processing includes the creation and saving of images).
  • A status bar – while a process is not running, it shows a countdown to the next scheduled scan. During a scan it also provides some status feedback, including a progress bar.

WHAT I’M SHOOTING FOR is a service that will run on boot-up and not require a user to login. This would consist of the scheduled file processing. However, when a user logs in I would still like the tray icon to be loaded and allow them to open up a GUI as I described above to monitor the current state of the service, change settings, start a scan manually, and monitor the progress of a scan.

I’m sure that I have seen applications like this – that function as a service even when I’m not logged in, but still give me a user interface to work with once I do log in.

I’m thinking that instead of having a single multi-threaded application that sends messages to the GUI thread from the processing thread, I need two applications – a Service to perform the processing and a GUI application to provide visual feedback from the Service and also send messages to the Service (for example, to start a scan manually). But I am new to Windows Services and have no idea how this is done.

It is also possible that I’m completely off base and a Service is not what I’m looking for at all.

Any help / ideas / suggestions would be greatly appreciated! Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T14:41:28+00:00Added an answer on May 15, 2026 at 2:41 pm

    You can’t do this as a service.

    You’ll need to make your Windows Service as a normal service application. This will startup on system startup, and run the entire time the system is up.

    You’d then make a completely separate GUI application, which “talks” to the service. This can be set to run when a user logs in, in the user’s account.

    In order to make them “talk” to each other, you’ll need to use some form of IPC. Since these run on the same system (but in different accounts, typically), named pipes or sockets both work quite well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a win32 library (DLL) project that was originally written in Delphi. It
I have an existing application that is written in C++ for Windows. This application
I have a Windows 8 metro app written in c++ that I'm trying to
I have a system service that starts another application. This application (written in C#)
The setup: I have a unmanaged/native Win32 application that I inject my code into.
I have a Win32 C++ application I have compiled on a PC running Windows
I have a win32 GUI (MFC) application which I need to port to a
I'm trying to debug and resolve some issues with a Win32 macro application written
I have an unmanaged Win32 C++ application that uses multiple C++ DLLs. The DLLs
I have a Win32 C++ Application using a handful of third-Party DLLs that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.