Click here to Skip to main content
15,921,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionproblem After Upgrading from VS 2003 project to VS 2005! [modified] Pin
pnpfriend8-Feb-07 6:46
pnpfriend8-Feb-07 6:46 
AnswerRe: problem After Upgrading from VS 2003 project to VS 2005! Pin
Mark Salsbery8-Feb-07 8:47
Mark Salsbery8-Feb-07 8:47 
GeneralRe: problem After Upgrading from VS 2003 project to VS 2005! Pin
pnpfriend8-Feb-07 11:56
pnpfriend8-Feb-07 11:56 
GeneralRe: problem After Upgrading from VS 2003 project to VS 2005! Pin
Mark Salsbery8-Feb-07 12:16
Mark Salsbery8-Feb-07 12:16 
GeneralRe: problem After Upgrading from VS 2003 project to VS 2005! Pin
pnpfriend9-Feb-07 4:36
pnpfriend9-Feb-07 4:36 
GeneralRe: problem After Upgrading from VS 2003 project to VS 2005! Pin
Mark Salsbery9-Feb-07 5:37
Mark Salsbery9-Feb-07 5:37 
GeneralRe: problem After Upgrading from VS 2003 project to VS 2005! Pin
pnpfriend9-Feb-07 6:57
pnpfriend9-Feb-07 6:57 
QuestionWindows Standards Compliance Pin
vipin_nvk8-Feb-07 5:43
vipin_nvk8-Feb-07 5:43 
Hello

I have an GUI application, which is dependent on a service for few of its features. Whenever the GUI application is executed (for the first time), I install this service and start the service.

Now, if the GUI application is executed in GUEST mode, my application will not be able to install the service and start it, since GUEST mode users are not allowed to install/start service.

So, what i was thinking was to prompt the user for admin user name and password and then impersonate the ADMIN login and install plus start my service and then revert back to GUEST mode.

I wanted to know that how far this approach of mine, i.e. impersonating ADMIN login and reverting back after installing the service is acceptable as per a standard WINDOWS application.

Is it right to ask the user for ADMIN login and password and impersonate it and revert back whenever its necessary ?

Thanks.
AnswerRe: Windows Standards Compliance Pin
James R. Twine8-Feb-07 6:24
James R. Twine8-Feb-07 6:24 
GeneralRe: Windows Standards Compliance Pin
vipin_nvk8-Feb-07 7:00
vipin_nvk8-Feb-07 7:00 
QuestionHow big can be executable? Pin
oleg638-Feb-07 4:50
professionaloleg638-Feb-07 4:50 
AnswerRe: How big can be executable? Pin
Hamid_RT8-Feb-07 5:11
Hamid_RT8-Feb-07 5:11 
GeneralRe: How big can be executable? Pin
oleg638-Feb-07 6:14
professionaloleg638-Feb-07 6:14 
AnswerRe: How big can be executable? Pin
James R. Twine8-Feb-07 6:12
James R. Twine8-Feb-07 6:12 
GeneralRe: How big can be executable? Pin
oleg638-Feb-07 6:41
professionaloleg638-Feb-07 6:41 
GeneralRe: How big can be executable? Pin
James R. Twine8-Feb-07 8:20
James R. Twine8-Feb-07 8:20 
GeneralRe: How big can be executable? Pin
#realJSOP8-Feb-07 23:44
professional#realJSOP8-Feb-07 23:44 
QuestionDshow.h is missing!!!? Pin
lolo088-Feb-07 4:34
lolo088-Feb-07 4:34 
AnswerRe: Dshow.h is missing!!!? Pin
James R. Twine8-Feb-07 4:37
James R. Twine8-Feb-07 4:37 
GeneralRe: Dshow.h is missing!!!? Pin
lolo088-Feb-07 6:36
lolo088-Feb-07 6:36 
GeneralRe: Dshow.h is missing!!!? Pin
Mark Salsbery8-Feb-07 8:28
Mark Salsbery8-Feb-07 8:28 
AnswerRe: Dshow.h is missing!!!? Pin
Mark Salsbery8-Feb-07 5:21
Mark Salsbery8-Feb-07 5:21 
AnswerRe: Dshow.h is missing!!!? Pin
ravidborse29-Dec-09 23:02
ravidborse29-Dec-09 23:02 
Questionrandom number generator Pin
Member 38093708-Feb-07 4:29
Member 38093708-Feb-07 4:29 
AnswerRe: random number generator Pin
James R. Twine8-Feb-07 4:32
James R. Twine8-Feb-07 4:32 

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.