Click here to Skip to main content
15,922,533 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Managed Extensions and native code. Bug? Pin
IdUnknown26-Oct-05 9:28
IdUnknown26-Oct-05 9:28 
AnswerRe: Managed Extensions and native code. Bug? Pin
Joel Lucsy27-Oct-05 4:26
Joel Lucsy27-Oct-05 4:26 
Questionmemory allocation problem :( Pin
wangzhi041724-Oct-05 18:08
wangzhi041724-Oct-05 18:08 
AnswerRe: memory allocation problem :( Pin
Kochise24-Oct-05 21:16
Kochise24-Oct-05 21:16 
AnswerRe: memory allocation problem :( Pin
toxcct24-Oct-05 22:55
toxcct24-Oct-05 22:55 
QuestionHash string function that keeps compare properties Pin
Kochise24-Oct-05 2:54
Kochise24-Oct-05 2:54 
Questionwindows forms scrollbar problem? Pin
9ine24-Oct-05 0:14
9ine24-Oct-05 0:14 
QuestionPreventing all users from terminating a service using task manager in Windows 2003 Pin
e_prabhu24-Oct-05 0:06
e_prabhu24-Oct-05 0:06 
Hi,
I am working in Windows 2003 platform. I have a Windows service that runs in the local SYSTEM account. The service is compatible in Windows NT/Me/2k/XP/2k3.

My problem is that I need to restrict users from terminating this service using Windows Task Manager.

For this I tried to step up the previledge of the service using the AdjustTokenPrivileges API, this way I am able to restrict users from terminating the service only on NT/Me/2k/XP. Whereas in 2003 this Privileges boosting does not help and the user is able to terminate the service.

Help me with any other API that you know or a completely different approach is also acceptable.

Advance thanks to ur suggestions. Smile | :)
AnswerRe: Preventing all users from terminating a service using task manager in Windows 2003 Pin
Judah Gabriel Himango24-Oct-05 12:28
sponsorJudah Gabriel Himango24-Oct-05 12:28 
GeneralRe: Preventing all users from terminating a service using task manager in Windows 2003 Pin
e_prabhu25-Oct-05 2:10
e_prabhu25-Oct-05 2:10 
GeneralRe: Preventing all users from terminating a service using task manager in Windows 2003 Pin
Sheng Jiang 蒋晟31-Oct-05 6:10
Sheng Jiang 蒋晟31-Oct-05 6:10 
QuestionC++ networking Pin
Deon Minnie23-Oct-05 20:08
Deon Minnie23-Oct-05 20:08 
QuestionHow to create Gaussian random number Pin
bulgaa23-Oct-05 18:23
bulgaa23-Oct-05 18:23 
AnswerRe: How to create Gaussian random number Pin
RichardS24-Oct-05 1:01
RichardS24-Oct-05 1:01 
Questionrookie question Pin
Binary011022-Oct-05 16:53
Binary011022-Oct-05 16:53 
AnswerRe: rookie question Pin
toxcct23-Oct-05 0:23
toxcct23-Oct-05 0:23 
AnswerRe: rookie question Pin
Christian Graus23-Oct-05 12:55
protectorChristian Graus23-Oct-05 12:55 
GeneralRe: rookie question Pin
toxcct24-Oct-05 1:16
toxcct24-Oct-05 1:16 
QuestionAccessing external devices(I don't have any idea) Pin
Alex Cutovoi21-Oct-05 6:01
Alex Cutovoi21-Oct-05 6:01 
QuestionFastest way to check a file exists Pin
[d3m0n]21-Oct-05 4:32
[d3m0n]21-Oct-05 4:32 
AnswerRe: Fastest way to check a file exists Pin
toxcct21-Oct-05 4:44
toxcct21-Oct-05 4:44 
GeneralRe: Fastest way to check a file exists Pin
[d3m0n]21-Oct-05 5:00
[d3m0n]21-Oct-05 5:00 
GeneralRe: Fastest way to check a file exists Pin
toxcct23-Oct-05 0:22
toxcct23-Oct-05 0:22 
GeneralRe: Fastest way to check a file exists Pin
[d3m0n]23-Oct-05 21:37
[d3m0n]23-Oct-05 21:37 
QuestionUpcasting Pin
LiYS21-Oct-05 0:27
LiYS21-Oct-05 0:27 

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.