How to connect Remote Spy++ to Windows Mobile emulators in Visual Studio 2008

I don’t see any problem doing so, but I got a question from a comment of one of my earlier post. The question states “Hello! Could you please tell more about how to make Remote Spy++ connect to WM 5.0 emulator, which I got with MSVS2008? I’ve read some articles at microsoft.com, but they say you can’t connect to Windows Mobile, only Windows CE…” So I want to explain the process to connect Remote Spy to Windows Mobile emulator in Visual Studio 2008. Here are the steps: 1. On the Debug menu of Visual Studio 2008, click Start Debugging. Note: … Continue reading How to connect Remote Spy++ to Windows Mobile emulators in Visual Studio 2008

New Windows Mobile Starter Kits

There are some new Windows Mobile Starter Kits published recently on MSDN demonstrating different technologies include DirectDraw on mobile applications, WIndows Mobile Ink APIs, Home Screen APIs, etc. A starter kit is a useful and ready-to-run project which helps developers to understand the concepts of various technologies. It comes with a detailed documentation which helps developers to understand the code and structure of the programming project in the starter kit. Developers can develop their own application based on the existing starter kits. The following link on MSDN explains the details of the starter kits and provides links for you to … Continue reading New Windows Mobile Starter Kits

Windows Mobile Ink: The Correct Way of Getting Recognition Results

  Windows Mobile Ink APIs are new in Windows Mobile 6 SDK. I guess they are trying to replace the old RichInk APIs. The way of using Windows Mobile Ink is not complex. The basic idea is to have a IInkOverlay object as an ink collector; an IInkDisp object as a container of strokes data; an IInkStrokes object as a collection of IInkStrokeDisp object. The IInkOverlay object collects the ink data and put them in the IInkDisp object. Then the IInkDisp object put the strokes to the IInkStrokes object. When the strokes data are in the IInkStrokes object, it’s time to get … Continue reading Windows Mobile Ink: The Correct Way of Getting Recognition Results

Windows Mobile: Getting Screen Size Information Before Main Window Is Loaded

I wanted to develop a screen size aware application, which will draw all application dialogboxes and windows dynamically depends on the actual screen size of the device. It will not be that hard to adapt the main application window to the screen size because GetWindowRect() or GetClientRect() functions can be used to get the screen size when the main window is loaded. However, if the application has a pop-op dialogbox for user to do some selections before the main window is loaded, how can I make the dialogbox aware of the screen size? Since main application window hasn’t loaded yet … Continue reading Windows Mobile: Getting Screen Size Information Before Main Window Is Loaded

Using Remote Spy++ To Check Window Messages in Windows Mobile Applications

Windows programming in native C++ is generally considered far more complex than in managed code. Programming for Windows Mobile devices is very similar with Windows programming. Sometimes we need to figure out which Window message is sent so we can write the corresponding event handling code. However, we can’t use Spy++ to do so because we are either debugging our application in the device emulator which is a virtual machine or an actual device. Visual Studio has a tool called Remote Spy++ (with an array of other remote tools), which provides us the functionality to work with device emulators and/or  actual connected devices. So … Continue reading Using Remote Spy++ To Check Window Messages in Windows Mobile Applications