Click here to Skip to main content
15,904,023 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Actually, I have a service running on Windows Server2003 sp2 called locator. This service keeps a control over another 4 services in the system. If any one of these four is down, I am supposed to run a process say Handler which is yet to be developed.
So I was trying with an existing like cmd,calc etc...

Now As Mark is saying use CreateProcessAsUser() and lpDesktop, I have a problem that I am new to windows domain. I don't know what should be the value for lpDesktop or for hToken i.e. first parameter of CreateProcessAsUser(). I am getting error 6 INVALID_HANDLE.

I think, The discussion stopped due to timezone difference.

--Arun
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 
GeneralRe: XP and Vista Caption bar problem with SetWindowRgn Pin
Nathan Going20-Aug-08 7:10
Nathan Going20-Aug-08 7:10 
QuestionRemove Duplicate Values Pin
NewVC++20-Aug-08 0:54
NewVC++20-Aug-08 0:54 
AnswerRe: Remove Duplicate Values Pin
Rajesh R Subramanian20-Aug-08 1:13
professionalRajesh R Subramanian20-Aug-08 1:13 

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.