Archief voor mei 2010
How to get information about softwares installed on Windows Mobile devices?
Best method is to ask the configuration service provider (CSP). Step 1: Add Reference to Microsoft.WindowsMobile.Configuration Step 2: Add the following statements at the top of the c# code file. using System.Xml; using Microsoft.WindowsMobile.Configuration; Step 3: Prepare a csp string (xml format) and pass it to ProcessConfiguration method of ConfigurationManager. Return value is the xml…
Lees meerHow to disable “Unsigned Prompt Policy” on Windows Mobile?
Many Windows Mobile (Pocket PC) devices ship with one-tier security configuration enabled. That means if an unsigned application is started, then the user is prompted whether to allow the unsigned application to run or not. If the user based on his/her judgment allows the application to run, the application runs in privileged mode whereby it…
Lees meerWindowsITPro talks about SureRC
Brian Reinholz has written about SureRC on Windows IT Pro website where he is production editor for Windows IT Pro and SQL Server Magazine, specializing in training and certification. Thanks Brian for mentioning SureRC. Here is the link for the article: http://www.windowsitpro.com/article/mobile-and-wireless2/SureRC-Smartphone-Remote-Control.aspx
Lees meerHow to get process id and thread id from a Window Handle in .NET CF?
Specify the namespace for doing P/Invoke stuff i.e. calling Win32 API functions from managed code. using System.Runtime.InteropServices; GetWindowThreadProcessId Win32 function retrieves the identifiers of the process and thread that created the specified window. Here is how we declare GetWindowThreadProcessId for use in managed code (c#). [DllImport(“coredll.dll”)] private static extern uint GetWindowThreadProcessId(IntPtr hWnd, out uint lpdwProcessId);…
Lees meer