Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Permutations Pin
Shao Voon Wong24-Mar-05 13:05
mvaShao Voon Wong24-Mar-05 13:05 
GeneralRe: Permutations Pin
Pebbles124-Mar-05 14:10
Pebbles124-Mar-05 14:10 
GeneralRe: Permutations Pin
toxcct24-Mar-05 20:50
toxcct24-Mar-05 20:50 
GeneralSimulate CTRL+ALT+DEL Pin
zoroto24-Mar-05 10:43
zoroto24-Mar-05 10:43 
GeneralRe: Simulate CTRL+ALT+DEL Pin
Kelly Herald24-Mar-05 11:01
Kelly Herald24-Mar-05 11:01 
GeneralRe: Simulate CTRL+ALT+DEL Pin
geo_m25-Mar-05 2:32
geo_m25-Mar-05 2:32 
GeneralRe: Simulate CTRL+ALT+DEL Pin
David Crow25-Mar-05 2:53
David Crow25-Mar-05 2:53 
GeneralRe: Simulate CTRL+ALT+DEL Pin
zoroto25-Mar-05 11:04
zoroto25-Mar-05 11:04 
Thanks all for the answers !

The point is that I want to make my service to simulate login to Windows 2000 server.
To execute one program(not written by me) as administrator and to lock then the server using "LockWorkstation".

I do not want to use Automatic Windows Login for some reason.

I know that there is another way to make my service to Login as administrator. To make it interact with server and to LoadProfile to set desktop and to execute the program. I search all MSDN and internet and find some samples and make all this, but for some reason it fails. I dont know why. It is dialog based and do not start. A program written by me which is dialog based also is executing fine and without any problem. But this do not why. So I look for another way to do this.
And the way that I think is good is this that I described.

So I will try to find sample about GINA and SAS and will write the result.....
If you have any suggestions I will apriciate them .
GeneralSetting the Maximum Number of Open Files Pin
jerry1211a24-Mar-05 10:07
jerry1211a24-Mar-05 10:07 
GeneralRe: Setting the Maximum Number of Open Files Pin
David Crow25-Mar-05 2:50
David Crow25-Mar-05 2:50 
GeneralButton in XP-Style. Pin
mostafa_pasha24-Mar-05 10:01
mostafa_pasha24-Mar-05 10:01 
GeneralResizing an Image Pin
geoffism24-Mar-05 8:51
geoffism24-Mar-05 8:51 
GeneralAdd extra button to window Title Bar Pin
Greg Rodgers24-Mar-05 7:32
Greg Rodgers24-Mar-05 7:32 
GeneralRe: Add extra button to window Title Bar Pin
Ravi Bhavnani24-Mar-05 8:29
professionalRavi Bhavnani24-Mar-05 8:29 
GeneralRe: Add extra button to window Title Bar Pin
David Crow24-Mar-05 8:42
David Crow24-Mar-05 8:42 
GeneralRe: Add extra button to window Title Bar Pin
Greg Rodgers24-Mar-05 9:09
Greg Rodgers24-Mar-05 9:09 
GeneralJustification of the Text Pin
NadirMaroof24-Mar-05 7:07
NadirMaroof24-Mar-05 7:07 
GeneralRe: Justification of the Text Pin
karle24-Mar-05 7:53
karle24-Mar-05 7:53 
GeneralRe: Justification of the Text Pin
NadirMaroof24-Mar-05 9:06
NadirMaroof24-Mar-05 9:06 
GeneralRe: Justification of the Text Pin
karle24-Mar-05 21:16
karle24-Mar-05 21:16 
GeneralRe: Justification of the Text Pin
NadirMaroof24-Mar-05 18:21
NadirMaroof24-Mar-05 18:21 
GeneralPlease help me! Pin
dSolariuM24-Mar-05 6:47
dSolariuM24-Mar-05 6:47 
GeneralRe: Please help me! Pin
jerry1211a24-Mar-05 10:24
jerry1211a24-Mar-05 10:24 
General(79) : error C2059: syntax error : ')' Pin
TMaxwell8624-Mar-05 6:42
TMaxwell8624-Mar-05 6:42 
GeneralRe: (79) : error C2059: syntax error : ')' Pin
ddmcr24-Mar-05 7:11
ddmcr24-Mar-05 7:11 

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.