|
Trusted Platform Module.
I should've expected this kind of question
|
|
|
|
|
Hi All,
I writing some application that need to be run like a service but actually the application is not a service.
I want to add to my application some ability to "run always" and take from the user the ability to shutdown the application from the task manager.
I looking for a way to remove the process from the task manager.
Is there is some way to do so ?
Thanks for any help.
|
|
|
|
|
|
In this article - we using simple manipulation on the control SysListView32.
I knew this way to remove the process from the task manager already -
But i looking form some other way to do it - maybe with some win32 API or something like that.
Maybe by changing the running process name with no touching the List View control.
|
|
|
|
|
Of course you know if your user is a programmer he knows other ways to see processes on the memory,but you can lock your process like anti viruses when you want to kill a process that its dependes to anti virus you will be got this error "The Operation not be completed. Acncess is denied.
|
|
|
|
|
1. Can you please explain witch other way ?
2. How can you "lock" some process ? how the anti viruses does it ?
|
|
|
|
|
Except Task manager you can find other programs that monitor resources of system and and you can control your system for example you can kill threads of a program or set min/max working set size of a process.
about second question some years ago I read about it and I forgot it.
|
|
|
|
|
(I'm not an expert in "services")
Can't services be started by "administrator" and/or only be stopped by administrator ?
Me think it's really bad manners to want to hide processes from the users.
|
|
|
|
|
I agree with you that this is "a bad manners" - but do you have other way to avoid killing process in crucial way and loss all your information on the way ?
I will explain ...
I have 2 processes -
1. UI process
2. simple process
(its not question about the design)
In case the second process will be killed ( in any reason ) then the UI process cant be work.
I must avoid the killing of the second process
and again... this not question of design - i just want to know how to protect the second process - and i want to do it by move it from the task manager.
|
|
|
|
|
Yanshof wrote: I agree with you that this is "a bad manners"...
Then why do you insist on doing it? Keeping your process from terminating can get in the way of Windows shutting down gracefully.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi,
I am using MS Visual Studio 2005. I am in a middle of a project which is using OpenGL for graphics. Now I have to add usb camera to my project.
1.Does anyone know how to save the video stream to a file?
2.How to play back from the file in a section of a window which already has other things in it?
#include <GL/glut.h>
int main(int argc, char *argv[]){
glutInit(&argc, argv);
init();
glutMainLoop(); //Brings up plot display by handing control to OpenGL
return 0;
}
Thanks in advance
|
|
|
|
|
I don't know how you can do this with OpenGL but I did manage something from what I can remember with DirectX. If you're interested in going down that route then Andrew Kirillov's articles[^] were a valuable resource.
I doubt it. If it isn't intuitive then we need to fix it. - Chris Maunder
|
|
|
|
|
hello
I want to know whether NTL package works in the VC++.NET 2005 enviroment . and how ?
|
|
|
|
|
|
|
hello,
This a question from a friend still studying C++, she'd like to know how to read from an excel file into her program.
a link or simple example would be very appreciated.
Thank you.
|
|
|
|
|
|
msdn wasn't much help, so thank you!
|
|
|
|
|
Star08 wrote: she'd like to know how to read from an excel file into her program.
You She should search for Excel Automation.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
I'm writing a windows program which at one point needs to get information from the 'net user' command, however I don't want that ugly console window showing up!
Is there some way of getting the entire console buffer in one string, so that I can ofstream it to a file and then ifstream it into my windows program?
What I'm looking for might look something like this:
char *GetConsoleBufferString()<br />
{<br />
char returnval[1000];<br />
return returnval;<br />
}
Summery: I need some way of getting the entire console buffer in a string.
modified on Sunday, May 11, 2008 8:40 PM
|
|
|
|
|
Is your code starting this console window or is it already started?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
hi
I have the core algorithm writen in c, and want to build a nice GUI for that algorithm, how can I do it , to embeded into Java, or use MFC, which one is better to get the nice GUI?
|
|
|
|
|
it depends on a lot of factors.
What is your knowledge of C++/MFC vs. Java vs. C# vs. any other UI toolkit ?
|
|
|
|
|
Well, the natural choiche seems MFC .
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|