Hey. use ShellExecuteEx api and in it's parameter structure check the hProcess data member after u launch your process, it should contain a handle to your process, after that you can do some stuff with the handle ussing api, depending on what you want. :-D
T
tanin
@tanin
Posts
-
Process Control -
I need help with an arrogant CFileI think you should delete the file pointer not in the window destructor but add an event OnClose and then delete the pointer there, if it doesn't help than u can send me your project to pudaoman@hotmail.com and i'll try to hel you. :rolleyes:
-
Problem with ActiveXI add a class from dll to my mfc single document (without doc view support) project in CMainFrame::OnCreate function i create my activex control wich is wrapped by the class i added ussing it's create function, then i use it's SetWindowPos function to change it's size in CMainFrame::OnSize function, it's working perfect but when i minimize the main window and then i restore it back, the ActiveX control crashes, saying "Devision by zero". What is the problem ???