Important WinCE KB article regarding Daylight Savings Time

Because I’ve been leading off a bunch of my more recent posts on obscure subjects with “Well, probably only 5 people care about this…” I’m afraid only 5 people are reading the blog now.  I hope not because this post is important.  If you’re a Platform Builder customer you need to manually change some registry…


How do I check a username/password validity on a local device on a WinCE device?

Suppose that you get a username and a password and you want to see whether it is legitimate.  The telnet server as an example of this – you give it a username & password that it needs to check before letting you party on CE.  It’s possible to do the check by some calls into…


Avoid TLS calls in services/device drivers while processing IPC calls on WinCE

This post is another of the pretty low-level, under the hood about interprocess communication on WinCE.  I considered not even posting it, but it meets my geek threshold (5 people in the world will need it sooner or later, but probably not more than 5) so I’m going ahead. One of the main functions of…

5

GPSID source code: the ultimate answer

Recently I’ve been asked some questions about how GPSID handles certain weird scenarios that fall outside the scope of the docs.  I’m happy to answer these of course – it is my job after all :).  The really hard questions have come from GPS device driver writers, but this post may help app developers also. …

2

Hardcore pointer marshalling samples for Windows CE 6

This is one of those blogs where I hesitated to post it because it may be going too hard core into the guts of CE.  But from dealing with our customers who use our shared source and some of the really hard core questions I get, I’m hoping there are at least 5 super-geeks who…

6

GPS Poll Driver Sample

I mention here that the information about the GPSID poll driver is now included in WinCE 6.  If you are an OEM implementing a GPS driver on CE6 and you’re not natively spitting out NMEA but would have to generate NMEA only for GPSID to parse, I’d highly recommend that you check out this information….

12

So you really don’t want your service unloaded?

Suppose you have some service in services(d).exe on your CE device that is so critical that you don’t anyone ever unloading it.  This would be a paranoid play, since most users never mess around with loading and unloading services directly.  But say that your service is doing something so critical to say the security of…


GPSID versus Location Framework

At some basic level, Windows CE’s GPSID and Location Framework are doing the same thing.  They’re giving you the position of your device.  I’ve had people ask me if with Location Framework if we were going to retire/deprecate/etc… GPSID.  No.  First, Location Framework depends on GPSID in order to retrieve GPS lat/long for it.  Second,…

2

Why was services.exe renamed to servicesd.exe in CE6.0?

In CE 6.0, one of the things we changed was naming services.exe to be servicesd.exe.  I mentioned it at the end of my CE6 services.exe initial post as to why we did this.  Services.exe in CE6 is just a simple command line wrapper that lets you do things like “services stop HTP0:”; no longer does…


Turning off the BSTR cache in Windows CE

By default, whenever you use BSTRs OLE will keep the memory cached in order to aid performance.  There are scenarios where you may want to disable this.  First would be if you’re on a device with not a lot of memory and don’t want it being spent in the cache.  Another is when you’re debugging…

2