Add two exe
-
Hi All Can i add two exe?Both exe of VC++2005.One is Dailog base and other is MDI. Can i add it?If yes then how?Plz help me
singh
What do you mean by adding two exe ? :confused: You mean use the second one in the first one ? Spawning it a new process is not enough ?
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++ -
What do you mean by adding two exe ? :confused: You mean use the second one in the first one ? Spawning it a new process is not enough ?
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++ -
you can't simply add two exe's or I am not getting what do you mean by adding? If you want to use the functionality from one exe in another one, you can include the relevant code/header/source files and then proceed.
polopo wrote:
So there is any new options?
AFAIK, it wasn't there earlier.
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
you can't simply add two exe's or I am not getting what do you mean by adding? If you want to use the functionality from one exe in another one, you can include the relevant code/header/source files and then proceed.
polopo wrote:
So there is any new options?
AFAIK, it wasn't there earlier.
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
can you give me more details..Plz how can i do that.. First code is in Dialog based and second one is MDI.. Plz help me
singh
I guess you want to display your dialog from within your MDI app ? Can't you simply start it as a new program ? Or do you really need it to be integrated in your app ? If that's the case, then as the previous poster said, you will have to include the source files from your second app into your first app and add some code to create and use the dialog.
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++ -
can you give me more details..Plz how can i do that.. First code is in Dialog based and second one is MDI.. Plz help me
singh
-
I guess you want to display your dialog from within your MDI app ? Can't you simply start it as a new program ? Or do you really need it to be integrated in your app ? If that's the case, then as the previous poster said, you will have to include the source files from your second app into your first app and add some code to create and use the dialog.
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++ -
Still your question is not clear :confused:. Do you mean you need to call MDI appln from the Dialog based application? Regards, Rane
-
You may use the API WinExec in your Dialog based application code. Say if you want to call the MDI application on the click of a button in your dialog based appln, then add it to the OnButtonClick() method the below piece of code. WinExec("c:\\Polopo_MDI.exe",SW_SHOWNORMAL); Regards, Rane
modified on Wednesday, September 3, 2008 3:43 AM
-
You may use the API WinExec in your Dialog based application code. Say if you want to call the MDI application on the click of a button in your dialog based appln, then add it to the OnButtonClick() method the below piece of code. WinExec("c:\\Polopo_MDI.exe",SW_SHOWNORMAL); Regards, Rane
modified on Wednesday, September 3, 2008 3:43 AM
Rane wrote:
You may use the API WinExec
This function is provided only for compatibility with 16-bit Windows. New applications should use the CreateProcess function or ShellExecute.
nave [OpenedFileFinder]
-
You may use the API WinExec in your Dialog based application code. Say if you want to call the MDI application on the click of a button in your dialog based appln, then add it to the OnButtonClick() method the below piece of code. WinExec("c:\\Polopo_MDI.exe",SW_SHOWNORMAL); Regards, Rane
modified on Wednesday, September 3, 2008 3:43 AM