Click here to Skip to main content
15,917,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Execute unix application through VC++ Pin
enhzflep9-May-08 5:36
enhzflep9-May-08 5:36 
AnswerRe: Execute unix application through VC++ Pin
toxcct9-May-08 3:11
toxcct9-May-08 3:11 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 3:13
professionalRajesh R Subramanian9-May-08 3:13 
RantRe: Execute unix application through VC++ Pin
Randor 9-May-08 5:09
professional Randor 9-May-08 5:09 
GeneralRe: Execute unix application through VC++ [modified] Pin
Rajesh R Subramanian9-May-08 5:22
professionalRajesh R Subramanian9-May-08 5:22 
GeneralRe: Execute unix application through VC++ Pin
Rajkumar R9-May-08 5:23
Rajkumar R9-May-08 5:23 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 5:31
professionalRajesh R Subramanian9-May-08 5:31 
GeneralRe: Execute unix application through VC++ Pin
Rajkumar R9-May-08 5:32
Rajkumar R9-May-08 5:32 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 5:38
professionalRajesh R Subramanian9-May-08 5:38 
GeneralRe: Execute unix application through VC++ Pin
Rajkumar R9-May-08 5:44
Rajkumar R9-May-08 5:44 
GeneralRe: Execute unix application through VC++ Pin
enhzflep9-May-08 5:41
enhzflep9-May-08 5:41 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 5:46
professionalRajesh R Subramanian9-May-08 5:46 
AnswerRe: Execute unix application through VC++ Pin
David Crow9-May-08 15:17
David Crow9-May-08 15:17 
Questiondestroy a dialog in a MFC application Pin
tom groezer9-May-08 2:53
tom groezer9-May-08 2:53 
AnswerRe: destroy a dialog in a MFC application Pin
Rajesh R Subramanian9-May-08 3:02
professionalRajesh R Subramanian9-May-08 3:02 
GeneralRe: destroy a dialog in a MFC application Pin
toxcct9-May-08 3:09
toxcct9-May-08 3:09 
GeneralRe: destroy a dialog in a MFC application Pin
Rajesh R Subramanian9-May-08 3:31
professionalRajesh R Subramanian9-May-08 3:31 
AnswerRe: destroy a dialog in a MFC application Pin
toxcct9-May-08 3:08
toxcct9-May-08 3:08 
AnswerRe: destroy a dialog in a MFC application Pin
tom groezer9-May-08 3:20
tom groezer9-May-08 3:20 
GeneralRe: destroy a dialog in a MFC application Pin
tom groezer9-May-08 3:26
tom groezer9-May-08 3:26 
GeneralRe: destroy a dialog in a MFC application Pin
Mark Salsbery9-May-08 6:15
Mark Salsbery9-May-08 6:15 
tom groezer wrote:
the problem is to get the control out of dlg.DoModal()



You'd have to send/post a message to the dialog. When the dialog responds to
the message, it can call CDialog::EndDialog().

The problem is you need another thread to post the message - or the message has to
come from the other process.

An alternative is to use a modeless dialog, but if you sit and wait on the UI thread
for the other process to end, your dialog will become unresponsive.

Best bet....use a worker thread to wait on the other process Smile | :)

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

Questionfputc or fgetc returning odd results Pin
Klempie9-May-08 2:03
Klempie9-May-08 2:03 
AnswerRe: fputc or fgetc returning odd results Pin
Klempie9-May-08 2:28
Klempie9-May-08 2:28 
GeneralRe: fputc or fgetc returning odd results Pin
Rajkumar R9-May-08 2:37
Rajkumar R9-May-08 2:37 
GeneralRe: fputc or fgetc returning odd results Pin
Klempie9-May-08 2:40
Klempie9-May-08 2:40 

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.