In VC++ How to transfer between one exe to another exe while
running..

Answers were Sorted based on User's Feedback



In VC++ How to transfer between one exe to another exe while running....

Answer / venkateshwaran r

we can use ShellExecute for transferring one exe to another

syntax:
::ShellExecute
(hwnd,lpOperation,lpFile,lpParameters,lpDirectory,nShowCmd)

Is This Answer Correct ?    10 Yes 1 No

In VC++ How to transfer between one exe to another exe while running....

Answer / guest

Say exe1.exe is executing and from that you need to call
exe2.exe. You can use WinExec(exe2.exe) in code of exe1.exe.
then exe2.exe will be called when exe1 is running. you can
also use CreateProcess() instead of Winexec().

Is This Answer Correct ?    4 Yes 0 No

In VC++ How to transfer between one exe to another exe while running....

Answer / urfriendkishor@gmail.com

I think this is not how to run another application from one
application. This is how to transfer the data between 2
application.

You can do this simply using WM_COPYDATA message.

Even you can try different Inter Process Communication(IPC)
techniques.

Is This Answer Correct ?    4 Yes 0 No

In VC++ How to transfer between one exe to another exe while running....

Answer / siva sankar

We can use system command to run a exe from another exe.


Syntax

System("C:\\exe1.exe");

Note : ShellExecute is better than System function

Is This Answer Correct ?    2 Yes 2 No

In VC++ How to transfer between one exe to another exe while running....

Answer / sahadev tarei

using DodataExchange(.............)
{
Updatedata(TRUE)
Updateda(FALSE)
)
use DDX and DDV

Is This Answer Correct ?    1 Yes 14 No

Post New Answer

More MFC Interview Questions

WHAT IS DIFFERENT BETWEN RELEASE MODE & DEBUGGING MODE

4 Answers   Google, Microsoft, TCS,


i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


what is the use of CWinApp class?

3 Answers   Mphasis,


How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it

8 Answers  


What are the advantages of using Doc/View or SDI over DialogBox

2 Answers  






What is the difference between the SDI and MDI

3 Answers   Invensys,


What is the use of CCmdTarget ?

4 Answers  


Does the application have more than one object? If no, then what is the reason?

5 Answers  


visual Pogramming c++ coding for create a paint application.. (Please someone help me)

2 Answers  


1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. 2.replace vowels with T 3.count number of T. 4.remove T 5.COPY string1 to stringf. 6.restore string1. print the following 1.Number of T 2.StringF 3.string1+string2+string3 Use pointers and functions

1 Answers  


Explain Doc/View architecture

6 Answers   Huawei,


what message is sent to an application when the user presses the primary button?

0 Answers   University Exams,


Categories