NETCF

  • .NET Compact Framework drum machine…

    Spotted this on Seth Demsey’s blog:- The article by Ianier Munoz shows how a desktop drum-machine sample was converted to the .NET Compact Framework. Calls to managed Direct Sound were replaced with P/Invokes to the WaveOut APIs. Check it out!… Continue reading

  • Upcoming .NET Compact Framework Chat: 13th May 2004

    Coming up tomorrow, the latest MSDN web chat with the .NETCF and Visual Studio for Devices team. Below are the details from MSDN:-   Smart Device Programming with Visual Studio .NET 2003So what’s that ‘Smart Device Application’ project type is all about?… Continue reading

  • Three ways to deploy the OpenNETCF.org Smart Device Framework

    1. The simplest method is to deploy the entire Smart Device Framework using the CAB files provided. When you deploy a project including a reference to an OpenNETCF dll this will occur automatically. The device gets the whole framework installed… Continue reading

  • P/Invoke Add-in for Visual Studio

    The site at www.pinvoke.net is a rapidly expanding Wiki solely devoted to P/Invoke definitions for .NET. This now includes Compact Framework P/Invokes for coredll, aygshell, rapi etc. To accompany this resource there is a Visual Studio plugin which gives you… Continue reading

  • P/Invoke Wiki Update

    Chris has setup a Wiki for OpenNETCF, I’ve added a few topics to sample how P/Invokes may be presented. There will be a lot more work to do to get the template just right but I wanted to ensure the… Continue reading

  • Understanding AcceptChanges and DataAdapter.Update

    Bill Ryan from KnowDotNet and Devbuzz has posted an article clearly describing the issues around DataSets which arise commonly on the newsgroups and discussion forums. http://msmvps.com/williamryan/posts/5679.aspx These include “Why does calling AcceptChanges followed by DataAdaptor.Update do nothing to the database”… Continue reading

  • Strongly-typed DataSets

    Chris Craft has written how to get around the lack of support for Strongly-typed DataSet’s in the IDE for Smart Device projects. http://www.cjcraft.com/Blog/PermaLink.aspx?guid=23fc2044-c854-4358-a0b8-8460f2c56d49 It requires some tweaking of code but is an interesting proposal. Chris plans a full article on… Continue reading

  • Reboot a device

    This blog entry (courtesy of Robert Levy) shows how to programatically reset a device:- http://blogs.msdn.com/windowsmobile/archive/2004/04/01/105878.aspx Here is the VB.NET equivalent:- Declare Function KernelIoControl Lib “coredll.dll” (ByVal dwIoControlCode As Integer, ByVal lpInBuf As IntPtr, ByVal nInBufSize As Integer, ByVal lpOutBuf As… Continue reading

  • All about RAPI

    If you are writing a desktop application to talk to your device-side software, chances are you’ll need to work with the Remote API (RAPI). This article by Larry Roof describes RAPI and uses OpenNETCF’s Communication library to copy files, launch… Continue reading

  • Smartphone files article gone live

    Thanks to Geoff Schwab for the heads up. My article on working with files covering Storage Cards and File Dialogs is now up in the MSDN library. Continue reading