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.
Help, my PC with Windows 10 won't shut down properly
Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?