Application.Restore does not get me to where I was before, why?
问题 The application I am now trying to support (a former creation of mine) is a complete mess, and so I programmed an extension to it as a separate executable which I then launch, call application.minimize; and WaitForSingleObject (the recently created process). Right after that I call application.restore to get me back to where I left off. application.Minimize; WaitForSingleObject(ProcInfo.hProcess, INFINITE); Application.Restore; Application.BringToFront; BringToFront; //the topmost form which