I need to open a file using ShellExec but I want it to open the new process as modal, ie I do not want it to return until the shelled app is closed. Is this possible and if so how ?
I have tried to set the parent parameter but that only recieves error messages, the function still returns right away.
I have tried to set the parent parameter but that only recieves error messages, the function still returns right away.
Can't you use ShellExecuteEx with WaitForSingleObject?
Thanks Morris,
That takes care of the problem nicely :alright:
That takes care of the problem nicely :alright: