Geeks With Blogs

WinToolZone - Spelunking Microsoft Technologies
I work as a developer on the Common Language Runtime (CLR) team, specifically in the areas of exception handling and CLR hosting.

The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Inside and Out... An attempt to understand technology better... Embedded Development
WinToolZone.Bluetooth - Added device enumeration support
[Originally posted on 6th July 2006] WinToolZone.Bluetooth, the managed Bluetooth API for the desktop that I am working on, now has the support for enumerating devices as well. The snippet below exemplifies it: . 1: Bluetooth bth = new Bluetooth(); 2: 3: // EnumRadios(bth); 4: 5: if (bth.RefreshDevices(false, true, true, true, true, null) == false) 6: { 7: Console.WriteLine("Unable to enum devices"); 8: return; 9: } 10: 11: foreach (BluetoothDevice device in bth.Devices) 12: { 13: Console.WriteLine("Devicename: ......

Posted On Thursday, March 29, 2007 2:39 PM

DesktopSMS - Send, Receive and Reply to SMS from the desktop
[Originally posted on 31st July 2006] Ever wanted to compose SMS from the ease of desktop instead of the phone? Wanted to be notified on the desktop, while you are working, when a SMS is received and reply to it from there itself? DesktopSMS, for Windows Mobile 5.0 based SmartPhone and PocketPC devices, will let you do just that! Based upon .NET Framework 2.0, .NET Compact Framework 2.0 and Windows Mobile 5.0, it allows you to compose, receive and reply to SMS while the phone is connected to your ......

Posted On Thursday, March 29, 2007 2:24 PM

TechED 2005 India: .NET Compact Framework 2.0....
Just finished with the demos of another of my session at TechED 2005 India - Introducing .NET Compact Framework 2.0. There's a ton to talk about the new features of .NET CF 2.0 and in this talk, I would be talking about: Generics, Anonymous Methods COM Interop Support Marshalling Support Enhancements in System.Threading Enhancements in cross-thread control access One of the better things in this version of .NET CF is a good amount of COM Interop support that has come in - within VS IDE as well. So ......

Posted On Wednesday, June 1, 2005 4:57 PM

TechED 2005 India: Discussing Windows Mobile 2005...
One of the key technologies that we are going to talk about at TechED 2005 India is Windows Mobile 2005 - with enhancements like Managed POOM, Message Interception, System State notification, it is one of the coolest things to have happened to managed development for compact device development. I just finished preparing my deck and demos for MED 302 - New Managed Messaging, State and Notification APIs in Windows Mobile on Day 2 of TechED - ......

Posted On Monday, May 30, 2005 3:59 PM

HTML Help Builder
If you want to create impressive help files, check out the HTML Help Builder from West-Wind! Author help files in a WYSIWYG manner for CHM, HTML Help 2 formats....

Posted On Tuesday, March 22, 2005 10:02 AM

CERapi - Working with files using CEFile
I am nearing the completion of implementing the CEFile class that will represent a file on the Windows CE device: CEFile file = new CEFile("\\My documents\\myfile.txt");Once the object is created, we can get various details of the file, like its attributes, size, amongst other things. Also, we can move or copy the file within the device or to the desktop. In addition, functionality has been added to launch the object. The Launch method of CEFile will attempt to open the file present on the device ......

Posted On Thursday, March 3, 2005 9:48 AM

Download CERapi - the managed Windows CE Remote API
Windows CE Remote API (RAPI) is the mechanism via which desktop applications can talk with the Windows CE device over ActiveSync connection. However, since RAPI is not supported natively for managed code development, I have been working on an implementation for managed code, CERapi. You can download CERapi from It comes with complete documentation, examples and currently supports: 1) Retrieving device and OS information 2) Retrieving Battery ......

Posted On Thursday, February 24, 2005 9:54 AM

CECallLog - now with PhoneCall support!
I have updated the CECallLog managed component for Windows CE/.NET CF to support making phone calls. The CECallLog class now supports MakePhoneCall static method to make the phone call, while the CECallLogEntry class supports the Call method, to make the phone call against the number associated with the call log entry. The documentation discusses the updated API with example. They can be downloaded from ......

Posted On Friday, January 14, 2005 11:36 PM

Global Memory and Battery Status Support in CERapi
I just finished implementing support for getting the global memory details and the battery charge details in CERapi - my managed RAPI implementation. To get these details, simply obtain the CESystemInformation instance and use the GlobalMemoryInformation and BatteryInformation properties to get the details, as shown in the code snippet below (si, in the snippet below, is reference to CESystemInformation object): // Global Memory Details CEGlobalMemory gm = si.GlobalMemoryInformation; Console.WriteLine("Memory ......

Posted On Tuesday, February 15, 2005 7:22 PM

Welcome Windows CE Remote API (RAPI) to the managed world
At the last Mobile and Embedded DevCon held at Bangalore, India, I spoke about the Windows CE Remote API, better known as RAPI.RAPI is currently not available in the .NET Framework. To alleviate this issue, I have started working on a managed RAPI to get the functionality in the managed world - following is how the code looks like: CERapi rapi = new CERapi(); if (rapi.Init(5000) != InitReturnCode.Success) Console.WriteLine("Unable to initialize RAPI"); else { Console.WriteLine("Initialized RAPI"); ......

Posted On Tuesday, February 15, 2005 10:11 AM

CECallLogManager Update
Fixed NullReferenceException bug in CECallLogManager

Posted On Sunday, January 23, 2005 2:51 PM

SHGetEmergencyCallList isn't implemented for Windows CE 4.2. I tried it on my collegue's and it failed - however, I have a XDA IIs which runs Windows CE 4.21 and it works on the same!

Posted On Thursday, January 20, 2005 11:37 AM

CECallLogManager - With call log search support!
I have updated CECallLogManager. It now supports listing the emergency call numbers (courtesy the updated CECallLog managed API) and dials them for you as shown below: Also, I have added functionality to allow the search of the call log. This can be done on three criterions: 1) Calls from a particular caller or number 2) Calls having a note attached to them 3) Calls between two specific dates The following screenshot shows how you can perform the search: Upon completing the search, if the call log ......

Posted On Sunday, January 16, 2005 9:03 PM

CECallLog - Emergency Number Support
CECallLog managed component for Windows CE/.NET CF now supports getting the emergency number list via the static CEEmergencyNumbers property of the CECallLog type.

The documentation discusses the updated API and can be downloaded from

Posted On Sunday, January 16, 2005 12:41 PM

Copyright © Gaurav Khanna | Powered by: