How to invoke an application executable from DLL.?
-
Hi All, I am developing an MFC extension dll.I want to include an application into my dll. can anyone help me out how to call the application through DLL.:confused: Thanks in advance. Ashok Reddy.
-
Hi All, I am developing an MFC extension dll.I want to include an application into my dll. can anyone help me out how to call the application through DLL.:confused: Thanks in advance. Ashok Reddy.
CreateProcess() function would help you Loka Samastha Sukhino Bhavanthu..!!! ( May all beings be happy and free )
-
Hi All, I am developing an MFC extension dll.I want to include an application into my dll. can anyone help me out how to call the application through DLL.:confused: Thanks in advance. Ashok Reddy.
if you want to launch a application See http://www.codeproject.com/system/newbiespawn.asp[^]_**
**_
whitesky
-
if you want to launch a application See http://www.codeproject.com/system/newbiespawn.asp[^]_**
**_
whitesky
This is nice article but the thing is ... the sequence is as follows My Application --->MFC EXTENSION DLL -CALLING OPEN API in dll->another application should open as well as I want to commmunicate between these two applications. I will be very thankfull to u and waitinfg for u r reply. Thanks...... Ashok Reddy.
-
This is one but the thing is ... the sequence is as follows My Application --->MFC EXTENSION DLL -CALLING OPEN API in dll->another application should open as well as I want to commmunicate between these two applications. I will be very thankfull to u and waitinfg for u r reply. Thanks...... Ashok Reddy.
-
This is one but the thing is ... the sequence is as follows My Application --->MFC EXTENSION DLL -CALLING OPEN API in dll->another application should open as well as I want to commmunicate between these two applications. I will be very thankfull to u and waitinfg for u r reply. Thanks...... Ashok Reddy
-
This is one but the thing is ... the sequence is as follows My Application --->MFC EXTENSION DLL -CALLING OPEN API in dll->another application should open as well as I want to commmunicate between these two applications. I will be very thankfull to u and waitinfg for u r reply. Thanks...... Ashok Reddy
-
ashok3450 wrote:
I want to commmunicate between these two applications.
what do u want to communicate? nave
-
I want to send messages snd receive messages between applications. Plz help me out. Thanks Ashok Reddy.
-
if u know the name of a window in the process ur going to create, u can get the handle of the window using the FindWindow() function, Once u get the window handle, U can send and receive messages. nave
-
Thanks for early reply.. can u send me address or code related to that i.e sending and receivinng messages. Ashok Reddy.
i didn't find any links...But it simple... 1. Use RegisterWindowMessage() to register a type of message. 2. Use FindWindow() to find the Window u wanted. 3. Then send the message as usaaal using the postmessage or sendmessage. 4. Overide the WindowProc funtion of the window to which u send the message. Inside that u can check whether the message is same as as that u send using the post/send message. :cool: nave
-
This is nice article but the thing is ... the sequence is as follows My Application --->MFC EXTENSION DLL -CALLING OPEN API in dll->another application should open as well as I want to commmunicate between these two applications. I will be very thankfull to u and waitinfg for u r reply. Thanks...... Ashok Reddy.
ashok3450 wrote:
My Application --->MFC EXTENSION DLL -CALLING OPEN API in dll->another application should open as well as I want to commmunicate between these two applications.
you have to interprocess communication between them!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You