Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HOW I CAN USE A LISTVIEW CONTROL IN MY HTML PAGE? Pin
26-Sep-01 19:32
suss26-Sep-01 19:32 
GeneralRe: HOW I CAN USE A LISTVIEW CONTROL IN MY HTML PAGE? Pin
Christian Graus26-Sep-01 19:43
protectorChristian Graus26-Sep-01 19:43 
GeneralMultiple Processes: Threads, Messages, Etc Pin
Eric Sanchez26-Sep-01 16:28
Eric Sanchez26-Sep-01 16:28 
GeneralRe: Multiple Processes: Threads, Messages, Etc Pin
Michael Dunn26-Sep-01 17:02
sitebuilderMichael Dunn26-Sep-01 17:02 
GeneralRe: Multiple Processes: Threads, Messages, Etc Pin
Eric Sanchez27-Sep-01 2:47
Eric Sanchez27-Sep-01 2:47 
GeneralBitmap Pin
26-Sep-01 15:16
suss26-Sep-01 15:16 
GeneralRe: Bitmap Pin
Christian Graus26-Sep-01 15:54
protectorChristian Graus26-Sep-01 15:54 
General2K and Tasks Pin
Christopher Lord26-Sep-01 15:15
Christopher Lord26-Sep-01 15:15 
I posted this elsewhere with no response, hopefully here it will see more action.

Alright, first, a quick explaination of my problem.

I make a piece of software that the company i work for uses to control logons to a computer. It is a computer rental place, and upon timing out the login screen has to pop up to the top of ANYTHING that could be running and stay there.

I have it running in Windows 9X, and is quite secure. I hide it from Control Alt Del menu right off the bat, and on the login screen i press it to the front with a collection of APIs called many times a second.

But we are considering moving to windows XP. Its task manager can see (and end) my process at any time, regardless of any API i have seen so far. Task manager cant stay in front of the login screen, but when someone logs in (the login screen goes away) they can simply end the task for the software!

Not Good!

So, I've been reading up on how this all works, and I have a couple ideas on how to fix it but no idea how to approach any of them.

#1: Run the program under alternate credentials. This WORKS (access denied trying to end my task), but damit, have to enter the password every time (very bad, many computers). Anyone know how to start a task under alternate credentials and have it start automatically? this would solve the problem, and i think it would be best. Storing the password in a batch file in plain text is NOT an option. some of our users are fairly good with computers.

#2: Run a stub-service that that checks for status of my login program, and starts it again if it disapears. Since the users will be low-access and the service runs under ./SYSTEM, it can't be stoped. so if anyone kills the task they will be greeted with the login screen when it starts back up. This would also work, but i have no idea how services work.

#3: Find an API that lets me once again hide the task completely like 9x. I dont like this at all, but if its the only way it will have to do.

#4: Any other sugestions?




Can anyone reccommend anything that would help me on this problem? we can keep using 9x for a while, but it would be nice to have XP in order to start pimping it when it hits the streets. That means i have to start working on it now to have it on systems by the 25th of oct.



// Rock
GeneralRe: 2K and Tasks Pin
Tomasz Sowinski27-Sep-01 0:31
Tomasz Sowinski27-Sep-01 0:31 
GeneralRe: 2K and Tasks Pin
Christopher Lord27-Sep-01 0:40
Christopher Lord27-Sep-01 0:40 
GeneralRe: 2K and Tasks Pin
Tomasz Sowinski27-Sep-01 0:50
Tomasz Sowinski27-Sep-01 0:50 
GeneralRe: 2K and Tasks Pin
Christopher Lord27-Sep-01 0:53
Christopher Lord27-Sep-01 0:53 
GeneralRe: 2K and Tasks Pin
Anders Molin27-Sep-01 1:02
professionalAnders Molin27-Sep-01 1:02 
QuestionNeed help with d-heap analysis? Pin
26-Sep-01 11:29
suss26-Sep-01 11:29 
QuestionHow do I maximize a child frame in code? Pin
26-Sep-01 10:39
suss26-Sep-01 10:39 
AnswerRe: How do I maximize a child frame in code? Pin
26-Sep-01 10:45
suss26-Sep-01 10:45 
GeneralRe: How do I maximize a child frame in code? Pin
mspitzer26-Sep-01 11:00
mspitzer26-Sep-01 11:00 
AnswerRe: How do I maximize a child frame in code? Pin
Tomasz Sowinski27-Sep-01 0:34
Tomasz Sowinski27-Sep-01 0:34 
Generalseveral restarts when installing Windows Pin
Peter Molnar26-Sep-01 9:48
Peter Molnar26-Sep-01 9:48 
GeneralRe: several restarts when installing Windows Pin
Carlos Antollini26-Sep-01 10:06
Carlos Antollini26-Sep-01 10:06 
GeneralRe: several restarts when installing Windows Pin
Tim Smith26-Sep-01 10:37
Tim Smith26-Sep-01 10:37 
Generalseveral restarts when installing Windows Pin
Peter Molnar26-Sep-01 9:46
Peter Molnar26-Sep-01 9:46 
QuestionHow do IAdd MFC to Non-Atl snap-in? Pin
scoob26-Sep-01 9:40
scoob26-Sep-01 9:40 
GeneralMFC access to ffastun.ff* files Pin
Harold Bamford26-Sep-01 9:35
Harold Bamford26-Sep-01 9:35 
GeneralBitmaps, Clipboard, and Palettes, Oh My! Pin
#realJSOP26-Sep-01 9:33
professional#realJSOP26-Sep-01 9:33 

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.