Sorry but that's a code fragment so I can't tell how you declared everything.
Attention: The forums are currently placed on Read Only.
Thank you for visiting the CNET forums. Our site is currently undergoing some maintenance. During this period (6:30 AM to 8 PM PDT,) you can read the forums content, however posting in the forum will not be available. We apologize for this inconvenience. Click here to read details
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.
Your favorite shows are back!
Don’t miss your dramas, sitcoms and reality shows. Find out when and where they’re airing!