|
Prev: Compatibility
Next: How can I read the Device ID ?
From: Khris on 22 Feb 2005 17:11 Hello, I am launching a new app (pword for example) from my eVC++ application. I want to perform some operation at the close of pword, say display a messagebox. Is there any way of doing this. Thanks in advance Khris
From: Peter Foot [MVP] on 22 Feb 2005 17:30 Use WaitForSingleObject on the process handle - this will be signalled when the application exits. However be aware that when the user taps the X in Pocket Word the app doesn't quit as it will return to the DocumentList, and a further tap will minimise the app, not exit completely. You can work around this with Notes, PocketWord and Pocket Excel by using the -opendoc argument e.g. pword.exe -opendoc "\My Documents\somefile.pwd" Peter -- Peter Foot Windows Embedded MVP www.inthehand.com | www.opennetcf.org "Khris" <Khris(a)discussions.microsoft.com> wrote in message news:A82B1004-6E0E-4677-AC2E-D2FDEDA03774(a)microsoft.com... > Hello, > > I am launching a new app (pword for example) from my eVC++ application. > I > want to perform some operation at the close of pword, say display a > messagebox. Is there any way of doing this. > > Thanks in advance > Khris
From: Khris on 28 Feb 2005 11:13 Hello Peter, Thanks for the response, this was really helpful. Thank you Khris "Peter Foot [MVP]" wrote: > Use WaitForSingleObject on the process handle - this will be signalled when > the application exits. However be aware that when the user taps the X in > Pocket Word the app doesn't quit as it will return to the DocumentList, and > a further tap will minimise the app, not exit completely. > You can work around this with Notes, PocketWord and Pocket Excel by using > the -opendoc argument e.g. > > pword.exe -opendoc "\My Documents\somefile.pwd" > > > Peter > > -- > Peter Foot > Windows Embedded MVP > www.inthehand.com | www.opennetcf.org > > "Khris" <Khris(a)discussions.microsoft.com> wrote in message > news:A82B1004-6E0E-4677-AC2E-D2FDEDA03774(a)microsoft.com... > > Hello, > > > > I am launching a new app (pword for example) from my eVC++ application. > > I > > want to perform some operation at the close of pword, say display a > > messagebox. Is there any way of doing this. > > > > Thanks in advance > > Khris > > >
|
Pages: 1 Prev: Compatibility Next: How can I read the Device ID ? |