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

C / C++ / MFC

 
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 
AnswerRe: Windows Standards Compliance Pin
James R. Twine8-Feb-07 6:24
James R. Twine8-Feb-07 6:24 
   Your post talks about execution of the application, which to me implies that it is already installed.  A lot of applications require an administrative user (or a user with administrative rights) to install it.  Is this an option for you, so that the service can be install at installation time and set to start accordingly?

   Or are you far past that point?  :P

   Most users are generally not used to having to enter authentication information more than once, much less be asked by an application for the Administrator's authentication information.  Some might be suspicious of the application asking for that information.  At least, I know that I would.

   All that taken into consideration, might be easiest to get the Administrator's information and then use CreateProcessWithLogonW(...) to launch an application that installs and starts the service instead of impersonating and reverting back your own (application's) identity.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

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 
AnswerRe: random number generator Pin
Alessandra778-Feb-07 6:57
Alessandra778-Feb-07 6:57 

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.