I can tell you the tricks only, as now I am not using C++ anymore. what ever app is installed in a system, must register themselves(if using a standard deployable package utility) into the system registry. Dont delete their entry point from registry, rather you can alter their entry point from process to services.
Just imagine, have you ever seen any services running inside the task maneger? I guess, no. Every process's entry points contain two main parameter, as name & value. If you change the value from 0 to 1, see what happen...
First of all,thank you for your NTGraph ACtive code,it is easy and Convenient for us to develop software!NOW ,I encounter a problem:I do not konow how to dislay ElementName in the different position of PlotArea?
Am developing a VC++ application where i need to get the username.
I have tried using GetUserName() and also USERNAME. But when i run the application on Vista as "Run as administrator", this is returning the admin's username and not the username with which the system is logged in.
Any suggestions on how to get the username with which the system is logged in when the application is "Run as administrator"?