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

C / C++ / MFC

 
GeneralRe: please help .... Pin
kapil Patry16-Jan-03 1:57
kapil Patry16-Jan-03 1:57 
GeneralRe: please help .... Pin
joshfl16-Jan-03 3:27
joshfl16-Jan-03 3:27 
General[newbie] RichEdit questions Pin
Daniel Salby15-Jan-03 17:09
Daniel Salby15-Jan-03 17:09 
GeneralRe: [newbie] RichEdit questions Pin
Taka Muraoka15-Jan-03 17:20
Taka Muraoka15-Jan-03 17:20 
GeneralRe: [newbie] RichEdit questions Pin
Daniel Salby15-Jan-03 20:25
Daniel Salby15-Jan-03 20:25 
GeneralRe: [newbie] RichEdit questions Pin
Taka Muraoka15-Jan-03 20:29
Taka Muraoka15-Jan-03 20:29 
GeneralWindow not visible after logon Pin
SJBenner15-Jan-03 16:39
sussSJBenner15-Jan-03 16:39 
GeneralRe: Window not visible after logon Pin
Mike Nordell15-Jan-03 22:45
Mike Nordell15-Jan-03 22:45 
SJBenner wrote:
The program has to start every time a user logs on and it has to run with admin privilages

Meaning you run it under an account that's member of the Administratoprs group?

And where exactly would that "user" get the windows station and the desktop of the currently locally logged on user, and especially the privileges to use those objects?

Try reading this article, and you're in a much better position to do what you want to accomplish.

Personally I think you're nuts, running a process with admin privs on a users desktop, especially when we all know how easy it is to interact with such a window to gain full access to the machine.

If you want a better solution, you should probably run your service as just that, a service, and then let the UI run in the locally logged on users context, talking to the server using e.g. RPC.
GeneralWeird error when reference *.lib file Pin
tongc15-Jan-03 15:05
tongc15-Jan-03 15:05 
Generaldetails? Pin
AlexO16-Jan-03 3:28
AlexO16-Jan-03 3:28 
GeneralAccessing/remoting a network PC Pin
vlusardi15-Jan-03 13:37
vlusardi15-Jan-03 13:37 
GeneralRe: Accessing/remoting a network PC Pin
xxhimanshu15-Jan-03 17:39
xxhimanshu15-Jan-03 17:39 
Generalextreme newbie needs advice Pin
nailbender15-Jan-03 13:22
nailbender15-Jan-03 13:22 
GeneralRe: extreme newbie needs advice Pin
Taka Muraoka15-Jan-03 13:32
Taka Muraoka15-Jan-03 13:32 
GeneralRe: extreme newbie needs advice Pin
JohnMcL15-Jan-03 13:44
JohnMcL15-Jan-03 13:44 
GeneralRe: extreme newbie needs advice Pin
Christian Graus15-Jan-03 15:37
protectorChristian Graus15-Jan-03 15:37 
GeneralDependency Walker Pin
ursus zeta15-Jan-03 13:05
ursus zeta15-Jan-03 13:05 
GeneralRe: Dependency Walker Pin
nde_plume15-Jan-03 14:04
nde_plume15-Jan-03 14:04 
GeneralRe: Dependency Walker Pin
Michael Dunn15-Jan-03 15:39
sitebuilderMichael Dunn15-Jan-03 15:39 
GeneralRe: Dependency Walker Pin
Jason Henderson16-Jan-03 3:02
Jason Henderson16-Jan-03 3:02 
GeneralHuge Thanks Pin
ursus zeta16-Jan-03 6:13
ursus zeta16-Jan-03 6:13 
QuestionShell to Notepad? Pin
Dov Sherman15-Jan-03 12:53
Dov Sherman15-Jan-03 12:53 
AnswerRe: Shell to Notepad? Pin
Joaquín M López Muñoz15-Jan-03 21:18
Joaquín M López Muñoz15-Jan-03 21:18 
GeneralDiagnostic Tools Pin
Anonymous15-Jan-03 12:10
Anonymous15-Jan-03 12:10 
GeneralRe: Diagnostic Tools Pin
Christian Graus15-Jan-03 15:51
protectorChristian Graus15-Jan-03 15:51 

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.