Click here to Skip to main content
15,908,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to capture mouse movement and click in windows service Pin
Richard Deeming11-May-22 21:44
mveRichard Deeming11-May-22 21:44 
Windows services don't run in the context of a user's desktop. At any point whilst the service is running, there could be zero, one, or many users logged in to the computer, each with their own desktop.

You need to use a different solution. For example, you can use the Windows Task Scheduler to start an application when any user logs in. That application will have access to the user's desktop.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

Questionconflicting types for 'uint32_t' issue Pin
focusdoit5-May-22 3:17
focusdoit5-May-22 3:17 
AnswerRe: conflicting types for 'uint32_t' issue Pin
Richard MacCutchan5-May-22 4:02
mveRichard MacCutchan5-May-22 4:02 
AnswerRe: conflicting types for 'uint32_t' issue Pin
Randor 5-May-22 9:28
professional Randor 5-May-22 9:28 
GeneralRe: conflicting types for 'uint32_t' issue Pin
focusdoit5-May-22 14:04
focusdoit5-May-22 14:04 
GeneralRe: conflicting types for 'uint32_t' issue Pin
Randor 5-May-22 14:31
professional Randor 5-May-22 14:31 
GeneralRe: conflicting types for 'uint32_t' issue Pin
Richard MacCutchan5-May-22 22:23
mveRichard MacCutchan5-May-22 22:23 
QuestionComplier error C2280 explanation Pin
ForNow5-May-22 1:37
ForNow5-May-22 1:37 
AnswerRe: Complier error C2280 explanation Pin
CPallini5-May-22 1:59
mveCPallini5-May-22 1:59 
GeneralRe: Complier error C2280 explanation Pin
ForNow5-May-22 2:07
ForNow5-May-22 2:07 
GeneralRe: Complier error C2280 explanation Pin
CPallini5-May-22 2:10
mveCPallini5-May-22 2:10 
GeneralRe: Complier error C2280 explanation Pin
ForNow5-May-22 2:21
ForNow5-May-22 2:21 
GeneralRe: Complier error C2280 explanation Pin
CPallini5-May-22 2:34
mveCPallini5-May-22 2:34 
GeneralRe: Complier error C2280 explanation Pin
ForNow5-May-22 3:01
ForNow5-May-22 3:01 
Questioncannot Create CListBox : CFormView without IDD Pin
rtischer82774-May-22 4:04
rtischer82774-May-22 4:04 
QuestionRe: cannot Create CListBox : CFormView without IDD Pin
David Crow4-May-22 4:47
David Crow4-May-22 4:47 
QuestionWaitForSingleObject Visual C++ bug Pin
coco2431-May-22 8:35
coco2431-May-22 8:35 
AnswerRe: WaitForSingleObject Visual C++ bug Pin
Randor 1-May-22 10:22
professional Randor 1-May-22 10:22 
GeneralRe: WaitForSingleObject Visual C++ bug Pin
coco2434-May-22 5:43
coco2434-May-22 5:43 
GeneralRe: WaitForSingleObject Visual C++ bug Pin
Randor 4-May-22 8:02
professional Randor 4-May-22 8:02 
GeneralRe: WaitForSingleObject Visual C++ bug Pin
coco2434-May-22 9:19
coco2434-May-22 9:19 
QuestionOne DrawItem Function for both CStatic and CComboBox Pin
ForNow30-Apr-22 15:11
ForNow30-Apr-22 15:11 
AnswerRe: One DrawItem Function for both CStatic and CComboBox Pin
Richard MacCutchan30-Apr-22 21:06
mveRichard MacCutchan30-Apr-22 21:06 
GeneralRe: One DrawItem Function for both CStatic and CComboBox Pin
ForNow1-May-22 3:27
ForNow1-May-22 3:27 
GeneralRe: One DrawItem Function for both CStatic and CComboBox Pin
Richard MacCutchan1-May-22 3:36
mveRichard MacCutchan1-May-22 3:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.