Solved

Application with ActiveX control and Windows Messaging as a service.

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Macro to save highlighted rows as a separate file 5 43
sum28 challenge 31 112
fizzArray2 challenge 1 79
java ^ examples 8 66
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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 Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

777 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