Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get Actual CFormView Size - MFC Vs2010 Pin
UrbanBlues13-Aug-11 22:20
UrbanBlues13-Aug-11 22:20 
QuestionHeap corruption - maybe you can see more than me [modified] Pin
blackshadow313-Aug-11 3:19
blackshadow313-Aug-11 3:19 
QuestionCannot Interact with service using SERVICE_USER_DEFINED_CONTROL [SOLVED] Pin
vishalgpt13-Aug-11 2:16
vishalgpt13-Aug-11 2:16 
AnswerRe: Cannot Interact with service using SERVICE_USER_DEFINED_CONTROL Pin
Richard MacCutchan13-Aug-11 2:21
mveRichard MacCutchan13-Aug-11 2:21 
GeneralRe: Cannot Interact with service using SERVICE_USER_DEFINED_CONTROL Pin
vishalgpt13-Aug-11 2:40
vishalgpt13-Aug-11 2:40 
GeneralRe: Cannot Interact with service using SERVICE_USER_DEFINED_CONTROL Pin
Richard MacCutchan13-Aug-11 4:36
mveRichard MacCutchan13-Aug-11 4:36 
GeneralRe: Cannot Interact with service using SERVICE_USER_DEFINED_CONTROL Pin
vishalgpt13-Aug-11 4:59
vishalgpt13-Aug-11 4:59 
GeneralRe: Cannot Interact with service using SERVICE_USER_DEFINED_CONTROL Pin
Richard MacCutchan13-Aug-11 5:56
mveRichard MacCutchan13-Aug-11 5:56 
Things to consider:
C++
ControlService(hMyService,SERVICE_CONTROL_CUSTOM_MESSAGE, &status);

I presume this line causes ServiceControlHandler() to be called, which in turn calls LaunchAppIntoDifferentSession() which does lots of things, some of which return a result indicating success or failure. Unfortunately these results are not passed back up the line so you have no idea what happened in this function. Add some breakpoints in the LaunchAppIntoDifferentSession() function in order to find out what is happening.
Unrequited desire is character building. OriginalGriff


GeneralRe: Cannot Interact with service using SERVICE_USER_DEFINED_CONTROL Pin
vishalgpt13-Aug-11 14:30
vishalgpt13-Aug-11 14:30 
AnswerRe: Cannot Interact with service using SERVICE_USER_DEFINED_CONTROL Pin
vishalgpt13-Aug-11 16:09
vishalgpt13-Aug-11 16:09 
GeneralRe: Cannot Interact with service using SERVICE_USER_DEFINED_CONTROL[SOLVED] Pin
vishalgpt13-Aug-11 16:04
vishalgpt13-Aug-11 16:04 
QuestionBitmap on Picture Control Pin
manju 312-Aug-11 21:18
manju 312-Aug-11 21:18 
AnswerRe: Bitmap on Picture Control Pin
Richard MacCutchan13-Aug-11 0:43
mveRichard MacCutchan13-Aug-11 0:43 
QuestionRe-intilize stack pointer Pin
ForNow12-Aug-11 9:41
ForNow12-Aug-11 9:41 
AnswerRe: Re-intilize stack pointer Pin
MicroVirus12-Aug-11 10:42
MicroVirus12-Aug-11 10:42 
AnswerRe: Re-intilize stack pointer Pin
Richard MacCutchan12-Aug-11 23:00
mveRichard MacCutchan12-Aug-11 23:00 
QuestionAbout wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work? Pin
frankgt4012-Aug-11 7:31
frankgt4012-Aug-11 7:31 
AnswerRe: About wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work? Pin
Maximilien12-Aug-11 8:01
Maximilien12-Aug-11 8:01 
GeneralRe: About wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work? Pin
frankgt4012-Aug-11 16:56
frankgt4012-Aug-11 16:56 
AnswerRe: About wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work? Pin
MicroVirus12-Aug-11 8:25
MicroVirus12-Aug-11 8:25 
GeneralRe: About wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work? Pin
frankgt4013-Aug-11 5:17
frankgt4013-Aug-11 5:17 
AnswerRe: About wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work? Pin
Emilio Garavaglia13-Aug-11 5:07
Emilio Garavaglia13-Aug-11 5:07 
GeneralRe: About wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work? Pin
frankgt4013-Aug-11 5:26
frankgt4013-Aug-11 5:26 
GeneralRe: About wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work? [modified] Pin
Emilio Garavaglia13-Aug-11 9:46
Emilio Garavaglia13-Aug-11 9:46 
QuestionInsert new row in Excel using MFC VC++ Pin
spalanivel11-Aug-11 23:58
spalanivel11-Aug-11 23:58 

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.