Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Application with ActiveX control and Windows Messaging as a service.

Posted on 2003-11-06
1
Medium Priority
?
211 Views
Last Modified: 2013-11-20
I have an MFC application that uses an ActiveX Control to communicate to external hardware.  The control uses windows messages and events to send and receive data from the hardware.

I have written services before, but I can't seem to get any windows messaging to happen in a service.  So that is my question, how do I get the application to use windows messages while running as a service.

Thanks
0
Comment
Question by:sbooth17
1 Comment
 
LVL 49

Accepted Solution

by:
DanRollins earned 2000 total points
ID: 9698613
Turn on the setting:
     Allow Service to interact with the desktop
It is under the "Log On" tab of the Properties for the Service, as seen in the ControlPanel "Services" applet.

-- Dan
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question