Hi All,
i want to open another application in my application for that im using winexec.
the problem is i want the another application opened like a domodal(), what i mean is the myapplication should wait till the opened application get completed.
-Amjath

doubt with Winexec
zingsb1
WinExec is obsolete function. This article shows how to run application using CreateProcess and wait until it exits:
http://msdn2.microsoft.com/en-us/library/ms682512.aspx