Click here to Skip to main content
15,906,569 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionOld code Pin
RomTibi27-Mar-16 9:18
RomTibi27-Mar-16 9:18 
AnswerRe: Old code Pin
Patrice T27-Mar-16 10:46
mvePatrice T27-Mar-16 10:46 
AnswerRe: Old code Pin
Sascha Lefèvre27-Mar-16 12:38
professionalSascha Lefèvre27-Mar-16 12:38 
AnswerRe: Old code Pin
David Crow28-Mar-16 3:55
David Crow28-Mar-16 3:55 
SuggestionRe: Old code Pin
Richard MacCutchan28-Mar-16 6:08
mveRichard MacCutchan28-Mar-16 6:08 
AnswerRe: Old code Pin
Richard MacCutchan28-Mar-16 6:03
mveRichard MacCutchan28-Mar-16 6:03 
QuestionAlgorithm on secrete key generation Pin
Durga Prasad Chauhan25-Mar-16 23:32
Durga Prasad Chauhan25-Mar-16 23:32 
AnswerRe: Algorithm on secrete key generation Pin
Richard MacCutchan26-Mar-16 1:32
mveRichard MacCutchan26-Mar-16 1:32 
AnswerRe: Algorithm on secrete key generation Pin
Patrice T27-Mar-16 10:31
mvePatrice T27-Mar-16 10:31 
Questionvector in turbo c Pin
Ravinder Singh25-Mar-16 20:50
Ravinder Singh25-Mar-16 20:50 
AnswerRe: vector in turbo c Pin
Richard MacCutchan25-Mar-16 22:46
mveRichard MacCutchan25-Mar-16 22:46 
AnswerRe: vector in turbo c Pin
Patrice T27-Mar-16 10:18
mvePatrice T27-Mar-16 10:18 
Questiongraphics.DrawImage return generic error Pin
Le@rner22-Mar-16 19:12
Le@rner22-Mar-16 19:12 
QuestionRe: graphics.DrawImage return generic error Pin
Richard MacCutchan22-Mar-16 23:10
mveRichard MacCutchan22-Mar-16 23:10 
AnswerRe: graphics.DrawImage return generic error Pin
Le@rner24-Mar-16 18:18
Le@rner24-Mar-16 18:18 
GeneralRe: graphics.DrawImage return generic error Pin
Richard MacCutchan24-Mar-16 21:57
mveRichard MacCutchan24-Mar-16 21:57 
GeneralRe: graphics.DrawImage return generic error Pin
Le@rner25-Mar-16 20:44
Le@rner25-Mar-16 20:44 
GeneralRe: graphics.DrawImage return generic error Pin
Richard MacCutchan25-Mar-16 22:44
mveRichard MacCutchan25-Mar-16 22:44 
GeneralRe: graphics.DrawImage return generic error Pin
Brisingr Aerowing24-Mar-16 19:51
professionalBrisingr Aerowing24-Mar-16 19:51 
QuestionWaitForInputIdle parent process gets access exception Pin
ForNow20-Mar-16 16:58
ForNow20-Mar-16 16:58 
AnswerRe: WaitForInputIdle parent process gets access exception Pin
leon de boer20-Mar-16 18:02
leon de boer20-Mar-16 18:02 
What you have detailed is correct and the recommended way to do it

So you therefore have a coding error which can be

(i) The launched process does not have a graphical interface ... must not be a console app which has no queue
(ii) The createprocess startup structure is invalid

If the launched process is yours you can go around the whole problem by using an Interprocess communication method.

If the launched process isn't yours check your code with notepad or something simple which that technique works with.
In vino veritas

GeneralRe: WaitForInputIdle parent process gets access exception Pin
ForNow20-Mar-16 21:33
ForNow20-Mar-16 21:33 
GeneralRe: WaitForInputIdle parent process gets access exception Pin
leon de boer20-Mar-16 22:16
leon de boer20-Mar-16 22:16 
GeneralRe: WaitForInputIdle parent process gets access exception Pin
ForNow21-Mar-16 2:56
ForNow21-Mar-16 2:56 
GeneralThe Exception was caused by unrelated exception which I fixed WaitForInputHandle Works Thanks for your help Pin
ForNow21-Mar-16 8:35
ForNow21-Mar-16 8:35 

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.