Click here to Skip to main content
15,922,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIs there an API to return parent directory Pin
Parthi_Appu20-Aug-08 10:39
Parthi_Appu20-Aug-08 10:39 
AnswerRe: Is there an API to return parent directory Pin
Perspx20-Aug-08 11:24
Perspx20-Aug-08 11:24 
AnswerRe: Is there an API to return parent directory Pin
vikas amin20-Aug-08 11:28
vikas amin20-Aug-08 11:28 
GeneralRe: Is there an API to return parent directory Pin
Parthi_Appu20-Aug-08 11:48
Parthi_Appu20-Aug-08 11:48 
GeneralRe: Is there an API to return parent directory Pin
vikas amin4-Sep-08 12:58
vikas amin4-Sep-08 12:58 
QuestionCan I create a process in Windows service in MFC? Pin
laksh220420-Aug-08 3:30
laksh220420-Aug-08 3:30 
QuestionRe: Can I create a process in Windows service in MFC? Pin
led mike20-Aug-08 4:31
led mike20-Aug-08 4:31 
AnswerRe: Can I create a process in Windows service in MFC? Pin
Mark Salsbery20-Aug-08 5:51
Mark Salsbery20-Aug-08 5:51 
laksh2204 wrote:
This may be due to reason that service puts the UI on a different desktop


It would be helpful to know if that's actually the case.
"not working" is pretty vague don't you think?

Have you tried using the STARTUPINFO.lpDesktop field?

You may also want to consider using CreateProcessAsUser() instead of
creating the process as the user the service is running as.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Can I create a process in Windows service in MFC? Pin
led mike20-Aug-08 8:20
led mike20-Aug-08 8:20 
GeneralRe: Can I create a process in Windows service in MFC? Pin
Mark Salsbery20-Aug-08 8:23
Mark Salsbery20-Aug-08 8:23 
GeneralRe: Can I create a process in Windows service in MFC? Pin
laksh220420-Aug-08 21:17
laksh220420-Aug-08 21:17 
GeneralRe: Can I create a process in Windows service in MFC? Pin
Ahmed Charfeddine20-Aug-08 22:25
Ahmed Charfeddine20-Aug-08 22:25 
GeneralRe: Can I create a process in Windows service in MFC? Pin
Mark Salsbery21-Aug-08 5:55
Mark Salsbery21-Aug-08 5:55 
GeneralRe: Can I create a process in Windows service in MFC? Pin
laksh220425-Aug-08 2:00
laksh220425-Aug-08 2:00 
QuestionAccessing the USB HUman Interface Device properties from the devicemanager Pin
hariakuthota20-Aug-08 3:23
hariakuthota20-Aug-08 3:23 
QuestionAccessing the USB HUman Interface Device properties from the devicemanager Pin
hariakuthota20-Aug-08 3:23
hariakuthota20-Aug-08 3:23 
AnswerRe: Accessing the USB HUman Interface Device properties from the devicemanager Pin
Ștefan-Mihai MOGA20-Aug-08 8:46
professionalȘtefan-Mihai MOGA20-Aug-08 8:46 
QuestionFunction Calling Pin
polopo20-Aug-08 2:36
polopo20-Aug-08 2:36 
AnswerRe: Function Calling Pin
Nathan Going20-Aug-08 2:39
Nathan Going20-Aug-08 2:39 
AnswerRe: Function Calling Pin
David Crow20-Aug-08 3:06
David Crow20-Aug-08 3:06 
AnswerRe: Function Calling Pin
CPallini20-Aug-08 3:20
mveCPallini20-Aug-08 3:20 
AnswerRe: Function Calling Pin
SRKSHOME20-Aug-08 23:50
SRKSHOME20-Aug-08 23:50 
AnswerRe: Function Calling Pin
laksh220425-Aug-08 20:15
laksh220425-Aug-08 20:15 
QuestionXP and Vista Caption bar problem with SetWindowRgn Pin
Nathan Going20-Aug-08 2:27
Nathan Going20-Aug-08 2:27 
AnswerRe: XP and Vista Caption bar problem with SetWindowRgn Pin
Mike Dimmick20-Aug-08 7:05
Mike Dimmick20-Aug-08 7:05 

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.