OutOfMemoryException when handling "large" pictures in NETCF

Nothing really unique in the blogosphere here, however worth mentioning anyway as it gives me the opportunity to discuss about MSDN Forums. Recently I’ve been handling yet another case about a NETCF Memory Leak… I have to admit that after my initial post about that topic the incoming requests about memory leaks are kind of…


GOTCHA 2: thanks Tess!!

WOW!!!  Being linked by one of the most followed blogs about .NET Troubleshooting is really a honor!! And by the way, if you are interested on ASP.NET, Debugging and similar, you MUST know Tess Ferrandez’ blog! Thanks Tess!!   Cheers, ~raffaele


Troubleshooting Memory Issues on Windows Mobile

Really many mobile developers have often various issues related to memory. This is obviously mainly related to the restrictions Windows CE has (till version 5.0) about memory-management, basically what Doug Boling called "Living within the box" here. Remember that Windows Mobile, even 6.1, still relies on Windows CE 5.0 components, therefore it still "suffers" the…


Troubleshooting Crashes on Windows Mobile

Crashes happen when the application closes unexpectedly. On Desktops you can leverage on many tools, starting with ADPlus + WinDbg. But this is not the case for us "tiny" programmers… some hints: 1. Start by reading "How the Windows Mobile 5.0 Shell Handles Low Memory Situations": note that the OS doesn’t send WM_HIBERNATE nor WM_CLOSE…


Troubleshooting on Windows Mobile: Introduction

The principle you should follow is the one used by Dr House in his movies: explore all the paths in order to discard a possible conclusion. It’s an attitude more than a process. And after some years you start dealing this way with everything… So, when facing a problem with an application you’re writing for…


Troubleshooting-Zen

Now come with me: follow the line of my thoughts and tell me if I’m correct. This is a blog written by a member of the Microsoft Technical Support (sorry, it’s “Customer Service Support”), right? What’s a Support Engineer good for? (Feel free to add any comment, but I’ll ban out the ones I don’t…


LAP Plugin freezes at startup on Windows Mobile 6 Classic

SDK Sample LAP for Pocket PC is meant to work on Windows Mobile 6 Professional only: here you can see how to modify it so that it can work on a Classic device as well.   Have you ever tried to use the SDK Pocket PC’s Sample for LAP on a Windows Mobile 6 CLASSIC…


MAPI on Windows Mobile 6: Programmatically retrieve mail BODY (sample code)

Summary: this post contains a sample code showing a way to use MAPI to log and count the mails of a Windows Mobile 6’s Outlook Mobile’s Inbox folder into a file (sender, recipients, subject, date-time, BODY).   Recently I’ve been involved in another case about MAPI: this time the developers needed to programmatically retrieve the…


Provisioning the UnInstall Configuration Service Provider fails if invoked through CAB or CPF

Imagine you want to uninstall an application on a Windows Mobile device, and you want to do that through a CAB file. There are other means, yes, (see doc) however in this particular case a CAB was required because IT admins were using SCCM (System Center Configuration Manager) to handle mobile devices remotely and wanted…


TSANet Alliance (Is the problem OEM-specific?)

What if I have a problem on one device model only? I.e. the same code works like a charm on every Windows Mobile-based device but one… can Microsoft help me engaging the OEM who customized the platform (as they only know what they put in it)? Well… not really, because you should contact that OEM’s…