Returning strings from C functions

Over the years I’ve noticed that questions always come in groups.  When I worked at Applied Data Systems, when a support question came in we always went the extra mile in writing up an answer because invariably we’d get at least 2 more questions on the same topic within a week. I still see the …

Continue reading ‘Returning strings from C functions’ »

Querying an NTP/SNTP Time Server

UPDATE 4 Sept 2013 The code snippet below has been fixed. It used to have a bug in it where it would occasionally be 2 minutes off of the correct time. I also added in parsing the fraction of a second. Over the last week of so I’ve noticed several questions in the newsgroups about …

Continue reading ‘Querying an NTP/SNTP Time Server’ »

Wake-on-LAN (WOL) from C#?

We got a request today from someone wondering if the SDF would help send a Wake-on-LAN or Magic Packet.  Well I’ve never had to do it before, so I looked it up on Wikipedia. The short answer is no, but that’s because all of the required pieces are already there in the CF. Here’s my …

Continue reading ‘Wake-on-LAN (WOL) from C#?’ »

MobileConnections Presentation Materials

If you attended one of my presentations at the MobileConnections conference, below are direct links to the PPTs and the Sample Applications I showed (if the links aren’t active try again in a while as I FTP them up). Compact Framework 2.0 and the Smart Device Framework 2.0Presentation PPTSample AppsGet the SDF here Memory Management …

Continue reading ‘MobileConnections Presentation Materials’ »

NETCF RPMBootstrap

NETCFRPM is a great tool, but it’s kind of obvious that it was a late addition to the SP1 SDK.  One big problem is the process of deploying.  There are a couple files that must be pushed to the device in order to run, and these are documented only in Steven Pratchner’s blog (maybe elsewhere …

Continue reading ‘NETCF RPMBootstrap’ »

CAB Quiz

If you know much about me, you probably know that simple doesn’t excite me.  I like problems that are interesting yet tough to solve.  A year or more ago or so I decided that I really needed to know how CAB files work.  If you do much work creating CE devices you’re familiar with the frustration of …

Continue reading ‘CAB Quiz’ »

Working around pre-SP3 CF 1.0 shut down hangs

So a couple of us at OpenNETCF have been heads down coding in a project for the last couple months.  It’s got some interesting aspects and I’ll be posting lessons learned over the coming weeks.  One of the biggest problems is that the deployment device for testing is the HP6315, which I’ll go on record …

Continue reading ‘Working around pre-SP3 CF 1.0 shut down hangs’ »