Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Application with ActiveX control and Windows Messaging as a service.

Posted on 2003-11-06
1
Medium Priority
?
207 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

730 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