|
From: Ocean on 1 Feb 2005 20:28 Hi all, I'm new to PPC development, I have 2 questions, 1. what is the method to stop a running process like what the task manager do? 2. How to incoporate a WM Player control?? I have tried to use the Windows control but seems not working very well.. Thanks in advance~
From: Peter Foot [MVP] on 2 Feb 2005 04:40 1. First you need to get the window handle (hwnd) for the process and send a WM_CLOSE message to it. If and only if this fails should you use TerminateProcess to kill the application. 2. Have you got the SDK for WMP for Pocket PC? - http://www.pocketpcdn.com/libraries/wmp.html Peter -- Peter Foot Windows Embedded MVP www.inthehand.com | www.opennetcf.org "Ocean" <billychan(a)cyberport.hk> wrote in message news:uXWELaMCFHA.1400(a)TK2MSFTNGP11.phx.gbl... > Hi all, > > I'm new to PPC development, I have 2 questions, > > 1. what is the method to stop a running process like what the task manager > do? > > 2. How to incoporate a WM Player control?? I have tried to use the Windows > control but seems not working very well.. > > Thanks in advance~ >
From: Ocean on 2 Feb 2005 22:01 Hi Peter, Thanks for your help first. I am wondering if this is SDK is based on the WM 10 SDK. If it is, i guess i have to test about the DRM feature supported by the WM 10. "Peter Foot [MVP]" <feedback(a)nospam-inthehand.com> wrote in message news:e2TVDtQCFHA.904(a)TK2MSFTNGP12.phx.gbl... > 1. First you need to get the window handle (hwnd) for the process and send > a WM_CLOSE message to it. If and only if this fails should you use > TerminateProcess to kill the application. > > 2. Have you got the SDK for WMP for Pocket PC? - > http://www.pocketpcdn.com/libraries/wmp.html > > Peter > > -- > Peter Foot > Windows Embedded MVP > www.inthehand.com | www.opennetcf.org > > "Ocean" <billychan(a)cyberport.hk> wrote in message > news:uXWELaMCFHA.1400(a)TK2MSFTNGP11.phx.gbl... >> Hi all, >> >> I'm new to PPC development, I have 2 questions, >> >> 1. what is the method to stop a running process like what the task >> manager do? >> >> 2. How to incoporate a WM Player control?? I have tried to use the >> Windows control but seems not working very well.. >> >> Thanks in advance~ >> > >
From: Ocean on 2 Feb 2005 22:04 oh Peter, Just found out that this is a WM 9 SDK, is there any WM 10 SDK for WinCE??? thanks. "Peter Foot [MVP]" <feedback(a)nospam-inthehand.com> wrote in message news:e2TVDtQCFHA.904(a)TK2MSFTNGP12.phx.gbl... > 1. First you need to get the window handle (hwnd) for the process and send > a WM_CLOSE message to it. If and only if this fails should you use > TerminateProcess to kill the application. > > 2. Have you got the SDK for WMP for Pocket PC? - > http://www.pocketpcdn.com/libraries/wmp.html > > Peter > > -- > Peter Foot > Windows Embedded MVP > www.inthehand.com | www.opennetcf.org > > "Ocean" <billychan(a)cyberport.hk> wrote in message > news:uXWELaMCFHA.1400(a)TK2MSFTNGP11.phx.gbl... >> Hi all, >> >> I'm new to PPC development, I have 2 questions, >> >> 1. what is the method to stop a running process like what the task >> manager do? >> >> 2. How to incoporate a WM Player control?? I have tried to use the >> Windows control but seems not working very well.. >> >> Thanks in advance~ >> > >
From: Ocean on 2 Feb 2005 23:02 Hi, about the kill process issue, how to get the handle for a running process? It seems that i cant use the properties in system.dianogstic.process class for .NETCF thanks. "Ocean" <billychan(a)cyberport.hk> wrote in message news:eNBCi0ZCFHA.2380(a)tk2msftngp13.phx.gbl... > oh Peter, > > Just found out that this is a WM 9 SDK, is there any WM 10 SDK for > WinCE??? > > thanks. > > > "Peter Foot [MVP]" <feedback(a)nospam-inthehand.com> wrote in message > news:e2TVDtQCFHA.904(a)TK2MSFTNGP12.phx.gbl... >> 1. First you need to get the window handle (hwnd) for the process and >> send a WM_CLOSE message to it. If and only if this fails should you use >> TerminateProcess to kill the application. >> >> 2. Have you got the SDK for WMP for Pocket PC? - >> http://www.pocketpcdn.com/libraries/wmp.html >> >> Peter >> >> -- >> Peter Foot >> Windows Embedded MVP >> www.inthehand.com | www.opennetcf.org >> >> "Ocean" <billychan(a)cyberport.hk> wrote in message >> news:uXWELaMCFHA.1400(a)TK2MSFTNGP11.phx.gbl... >>> Hi all, >>> >>> I'm new to PPC development, I have 2 questions, >>> >>> 1. what is the method to stop a running process like what the task >>> manager do? >>> >>> 2. How to incoporate a WM Player control?? I have tried to use the >>> Windows control but seems not working very well.. >>> >>> Thanks in advance~ >>> >> >> > >
|
Next
|
Last
Pages: 1 2 Prev: Pocket PC 2003 LSP Install Inconsistent Next: unmanaged function list in Coredll.dll |