Solved

Application with ActiveX control and Windows Messaging as a service.

Posted on 2003-11-06
1
193 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 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
function returning CString in a regular win32 DLL 8 200
Expand to include initial dialog with two choices. 9 86
fizzArray  challenge 1 109
Path of Workbook 3 87
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 …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

749 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