Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: import lib file in VC.Net Pin
HENDRIK R10-May-04 2:57
HENDRIK R10-May-04 2:57 
GeneralRe: import lib file in VC.Net Pin
casper23410-May-04 4:51
casper23410-May-04 4:51 
GeneralRe: import lib file in VC.Net Pin
HENDRIK R10-May-04 6:08
HENDRIK R10-May-04 6:08 
GeneralRe: import lib file in VC.Net Pin
robert_s10-May-04 4:40
robert_s10-May-04 4:40 
GeneralRe: import lib file in VC.Net Pin
casper23410-May-04 5:05
casper23410-May-04 5:05 
GeneralRe: import lib file in VC.Net Pin
robert_s10-May-04 12:06
robert_s10-May-04 12:06 
GeneralActiveX window remains on top Pin
Abhi Lahare10-May-04 1:19
Abhi Lahare10-May-04 1:19 
GeneralCreateProcessAsUser() Pin
RickardIsraelsson10-May-04 0:57
RickardIsraelsson10-May-04 0:57 
I got an application running on a client with low privilege. The application shall execute another program that needs administrator privilege to work appropriate. Is it possible to logon a privileged user with the LogonUser() function and then make a cal to CreateProcessAsUser() to execute the program with enough privilege? Do I also have to make a cal to LoadUserProfile(), and/or ImpersonateLoggedOnUser() before calling CreateProcessAsUser()??? Do I have to load any desktop or window station or some of that stuff?
I have done lots of reading on MSDN and coding, but with no result.

Is there somebody that can help me with this?


Rickard Israelsson
GeneralRe: CreateProcessAsUser() Pin
Mike Dimmick10-May-04 1:32
Mike Dimmick10-May-04 1:32 
GeneralProblem with Static control Pin
nguyenvhn10-May-04 0:20
nguyenvhn10-May-04 0:20 
GeneralRe: Problem with Static control Pin
David Crow10-May-04 2:47
David Crow10-May-04 2:47 
GeneralRe: Problem with Static control Pin
nguyenvhn10-May-04 15:15
nguyenvhn10-May-04 15:15 
GeneralRe: Problem with Static control Pin
David Crow11-May-04 1:52
David Crow11-May-04 1:52 
GeneralRe: Problem with Static control Pin
vividtang10-May-04 17:15
vividtang10-May-04 17:15 
GeneralUsing a Managed dll in Unmanaged code Pin
Majid Shahabfar10-May-04 0:09
Majid Shahabfar10-May-04 0:09 
GeneralRe: Using a Managed dll in Unmanaged code Pin
Anthony_Yio10-May-04 1:04
Anthony_Yio10-May-04 1:04 
QuestionMaximum ARRAY SIZE? Pin
zaferaslan10-May-04 0:03
zaferaslan10-May-04 0:03 
AnswerRe: Maximum ARRAY SIZE? Pin
Jens Doose10-May-04 0:13
Jens Doose10-May-04 0:13 
GeneralRe: Maximum ARRAY SIZE? Pin
zaferaslan10-May-04 0:21
zaferaslan10-May-04 0:21 
GeneralRe: Maximum ARRAY SIZE? Pin
Jens Doose10-May-04 0:31
Jens Doose10-May-04 0:31 
GeneralRe: Maximum ARRAY SIZE? Pin
zaferaslan10-May-04 0:41
zaferaslan10-May-04 0:41 
AnswerRe: Maximum ARRAY SIZE? Pin
David Crow10-May-04 2:49
David Crow10-May-04 2:49 
GeneralRe:David - Maximum ARRAY SIZE? Pin
zaferaslan10-May-04 3:14
zaferaslan10-May-04 3:14 
GeneralRe:David - Maximum ARRAY SIZE? Pin
David Crow10-May-04 3:35
David Crow10-May-04 3:35 
GeneralRe:David - Maximum ARRAY SIZE? Thanks Pin
zaferaslan10-May-04 20:26
zaferaslan10-May-04 20:26 

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.