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

How to handle dynamic menus in MFC?

3 Answers   HCL,


Difference between Cclint DC & Cpaint Dc

6 Answers   E Logic,


how many types of classes are ther,what are that

7 Answers   L&T,


Tell me the different controls in MFC ?

5 Answers  


What is the base class for MFC Framework ?

4 Answers  






What is the difference between Struts and JSF? Pls list some most suitable differences.

0 Answers  


what if we provide two message handler for same message ?

1 Answers  


plzz tell me what we can do and dont in tally ERP & sap business one?

0 Answers  


Can you explaing the relashionship between document,frame and view ?

2 Answers  


what is the difference between compiling and building?

1 Answers  


1)set the Title for The File DialogBox, in MFC?

1 Answers  


Explain the flow of SDI application?

8 Answers   Mphasis,


Categories