Click here to Skip to main content
15,891,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionStartup Project. Pin
T.RATHA KRISHNAN21-Aug-08 23:30
T.RATHA KRISHNAN21-Aug-08 23:30 
AnswerRe: Startup Project. Pin
Nibu babu thomas21-Aug-08 23:35
Nibu babu thomas21-Aug-08 23:35 
QuestionRe: Startup Project. Pin
T.RATHA KRISHNAN21-Aug-08 23:43
T.RATHA KRISHNAN21-Aug-08 23:43 
AnswerRe: Startup Project. Pin
_AnsHUMAN_ 22-Aug-08 0:03
_AnsHUMAN_ 22-Aug-08 0:03 
AnswerRe: Startup Project. Pin
SandipG 22-Aug-08 0:05
SandipG 22-Aug-08 0:05 
GeneralRe: Startup Project. Pin
T.RATHA KRISHNAN22-Aug-08 1:01
T.RATHA KRISHNAN22-Aug-08 1:01 
GeneralRe: Startup Project. Pin
SandipG 22-Aug-08 1:03
SandipG 22-Aug-08 1:03 
QuestionGetting Admnistrator Token in Vista Pin
NiceNaidu21-Aug-08 23:16
NiceNaidu21-Aug-08 23:16 
Hi All,

I have a legacy application that needs to run as both standard user and administrator.
But standard user will have limited priveleges.

So i have added a manifest file with
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
(I cannot use "requireAdministrator" as the standard user needs to run the without the need to enter administrator credentials>)

But the problem i am facing here is ,even if the logged on user is administrator, he is also behaving like standard user.

Is there any way to get the Logged on administrator token and pass it as first parameter in CheckTokenMembership() API ?

Thanks

Appu..
"Never explain yourself to anyone.
Because the person who likes you does n't need it.
And the person who dislikes you won't believe it."

Questionis it VC++ market down now ? Pin
Preethi_12321-Aug-08 23:13
Preethi_12321-Aug-08 23:13 
AnswerRe: is it VC++ market down now ? Pin
Rajesh R Subramanian21-Aug-08 23:20
professionalRajesh R Subramanian21-Aug-08 23:20 
GeneralRe: is it VC++ market down now ? Pin
Preethi_12321-Aug-08 23:22
Preethi_12321-Aug-08 23:22 
JokeRe: is it VC++ market down now ? Pin
CPallini21-Aug-08 23:35
mveCPallini21-Aug-08 23:35 
AnswerRe: is it VC++ market down now ? Pin
Naveen21-Aug-08 23:23
Naveen21-Aug-08 23:23 
GeneralRe: is it VC++ market down now ? Pin
Preethi_12321-Aug-08 23:28
Preethi_12321-Aug-08 23:28 
GeneralRe: is it VC++ market down now ? Pin
Naveen21-Aug-08 23:30
Naveen21-Aug-08 23:30 
GeneralRe: is it VC++ market down now ? Pin
David Crow22-Aug-08 8:32
David Crow22-Aug-08 8:32 
AnswerRe: is it VC++ market down now ? Pin
CPallini21-Aug-08 23:30
mveCPallini21-Aug-08 23:30 
GeneralRe: is it VC++ market down now ? Pin
Preethi_12321-Aug-08 23:36
Preethi_12321-Aug-08 23:36 
GeneralRe: is it VC++ market down now ? Pin
Preethi_12321-Aug-08 23:37
Preethi_12321-Aug-08 23:37 
GeneralRe: is it VC++ market down now ? Pin
CPallini21-Aug-08 23:56
mveCPallini21-Aug-08 23:56 
GeneralRe: is it VC++ market down now ? Pin
Preethi_12321-Aug-08 23:59
Preethi_12321-Aug-08 23:59 
QuestionRe: is it VC++ market down now ? [modified] Pin
CPallini22-Aug-08 0:02
mveCPallini22-Aug-08 0:02 
AnswerRe: is it VC++ market down now ? Pin
Preethi_12322-Aug-08 0:20
Preethi_12322-Aug-08 0:20 
GeneralRe: is it VC++ market down now ? Pin
CPallini22-Aug-08 0:26
mveCPallini22-Aug-08 0:26 
AnswerRe: is it VC++ market down now ? Pin
Jijo.Raj22-Aug-08 0:23
Jijo.Raj22-Aug-08 0:23 

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.