Solved

Application with ActiveX control and Windows Messaging as a service.

Posted on 2003-11-06
1
163 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 500 total points
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Understanding the meaning of Portability in Embedded System Programming 8 110
Host to IP 7 73
ORA-01403: no data found 43 82
sum28 challenge 31 95
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now