Sorry but that's a code fragment so I can't tell how you declared everything.
I am developing an application in native language(C) for windows mobile 6.1 (win ce 5.0).
I use windows mobile sdk and visual studio 2005.
In my application I'm trying to launch built-in application (eg Contacts, Music player etc).
Is this possible using native code?
I used CraeteProcess() as below
(0 == CreateProcess(_T("\\windows\\wmplayer.exe"),NULL,NULL,NULL,NULL,
"Music palyer launch failed");
The music player application is open after this.
But the process handle and thread handle in the processInfo is showing NULL.
So, CloseHandle() or TerminateProcess() or SendMessage with WM_CLOSE are not working.
Please let me know where I'm wrong.
Stuck without Internet and want to watch movies?
CNET shows you how to download movies and TV shows onto your device using Amazon Prime so you'll always be entertained.