In VC++ How to transfer between one exe to another exe while
running..
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
using DodataExchange(.............)
{
Updatedata(TRUE)
Updateda(FALSE)
)
use DDX and DDV
| Is This Answer Correct ? | 1 Yes | 14 No |
Difference between Debug and Release versions?
How many types of dialog box are their
What are the differences between MFC Exception macros and C++ exception keywords?
What function is used to disable a control at runtime?
I have 2 threads. One thread prints odd numbers and the second thread prints even numbers. Now, I have to execute the threads alternatively so that i can output 1,2,3,4,5,6,..... write code for this?
What types of threads are supported by MFC framework?
What is userdefine Messages in MFC?
How can i change the color of a dropdowncombobox elements
how does conditionally close the Dialog Box ?
Explain the flow of SDI application?
Can you explaing the relashionship between document,frame and view ?
what is the use of Mutex and critical section