Click here to Skip to main content
16,008,490 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ON_CONTROL_RANGE Pin
Tim Deveaux10-Jul-01 7:08
Tim Deveaux10-Jul-01 7:08 
GeneralNT Service with a GUI Pin
James Spibey10-Jul-01 5:54
James Spibey10-Jul-01 5:54 
GeneralRe: NT Service with a GUI Pin
10-Jul-01 6:28
suss10-Jul-01 6:28 
GeneralRe: NT Service with a GUI Pin
Joan M10-Jul-01 6:33
professionalJoan M10-Jul-01 6:33 
GeneralRe: NT Service with a GUI Pin
Tim Deveaux10-Jul-01 7:21
Tim Deveaux10-Jul-01 7:21 
GeneralRe: NT Service with a GUI Pin
Giles10-Jul-01 8:28
Giles10-Jul-01 8:28 
GeneralRe: NT Service with a GUI Pin
Gennady Oster10-Jul-01 21:47
Gennady Oster10-Jul-01 21:47 
GeneralRe: NT Service with a GUI Pin
Claudius Mokler10-Jul-01 22:40
Claudius Mokler10-Jul-01 22:40 
A NT Service may well have a GUI, but this comes with some drawbacks.

Only services running in the "local system" user account can have the priviledge "interact with desktop", which is needed to have a visual GUI.

The "local system" user account is restricted in some access rights, for instance, it isn't allowed to open the client side of named pipes.

Another drawback is that every user who logs on to the machine the service runs on is abled to see and interact with the service's GUI.
This is not feasible for secure operation.

I would recommend using a separate GUI application for interaction with the service. Simple commands could be sent from GUI to service using user-defined codes for the ControlService() function.
Data could be sent using named pipes or shared memory (who'd want to do it that way?!) or sockets.


GeneralRe: NT Service with a GUI Pin
Nick Van den Abbeele11-Jul-01 0:03
Nick Van den Abbeele11-Jul-01 0:03 
GeneralListBox AddString Useage Pin
otvac10-Jul-01 4:57
otvac10-Jul-01 4:57 
GeneralRe: ListBox AddString Useage Pin
Tomasz Sowinski10-Jul-01 5:06
Tomasz Sowinski10-Jul-01 5:06 
GeneralRe: ListBox AddString Useage Pin
10-Jul-01 6:32
suss10-Jul-01 6:32 
GeneralRe: ListBox AddString Useage Pin
Andrew Peace10-Jul-01 12:43
Andrew Peace10-Jul-01 12:43 
GeneralADODB and access Pin
Gérald Mercet10-Jul-01 4:24
Gérald Mercet10-Jul-01 4:24 
GeneralRe: ADODB and access Pin
l a u r e n10-Jul-01 5:22
l a u r e n10-Jul-01 5:22 
GeneralRe: ADODB and access Pin
Gérald Mercet10-Jul-01 6:05
Gérald Mercet10-Jul-01 6:05 
QuestionPropertySheet and PropertyPage. Who can help ? Pin
10-Jul-01 2:31
suss10-Jul-01 2:31 
AnswerRe: PropertySheet and PropertyPage. Who can help ? Pin
Paolo Messina10-Jul-01 3:01
professionalPaolo Messina10-Jul-01 3:01 
Generalhandles Pin
10-Jul-01 1:06
suss10-Jul-01 1:06 
GeneralRe: handles Pin
Tomasz Sowinski10-Jul-01 1:14
Tomasz Sowinski10-Jul-01 1:14 
GeneralRe: handles Pin
10-Jul-01 1:22
suss10-Jul-01 1:22 
GeneralRe: handles Pin
Tomasz Sowinski10-Jul-01 1:29
Tomasz Sowinski10-Jul-01 1:29 
GeneralThanks Pin
10-Jul-01 1:38
suss10-Jul-01 1:38 
GeneralRe: Thanks Pin
markkuk10-Jul-01 21:11
markkuk10-Jul-01 21:11 
QuestionHow can i find out if outlook is running? Pin
10-Jul-01 0:10
suss10-Jul-01 0:10 

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.