Categories
NETCF

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 IntPtr, ByVal nOutBufSize As Integer, ByVal lpBytesReturned As Integer) As Integer Declare Sub SetCleanRebootFlag Lib […]

Categories
Articles NETCF

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 programs and query settings on the device.

Categories
Blogs

New blog in town

The Windows Mobile “Developer Experience” team have launched a new blog, Robert has already made a few posts regarding developing for Windows Mobile 2003 Second Edition.

Categories
Events

Back from San Francisco

I’ve got back home from MDC, my immediate task is to clear the backlog of emails and serious sleep deprivation! I’ll also be pulling together all my notes on the event for a Smartphone / Pocket PC Thoughts article. The event included a great mixture of short term and longer-term announcements. Windows Mobile 2003 Second […]

Categories
MSDN NETCF

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.

Categories
NETCF

Free space on Storage Cards

You can determine the total size of a Storage Card and available free bytes using the GetDiskFreeSpaceEx API function. Below is a “mini-wrapper” around the function which returns a structure with the three return values. You’ll notice in this example I’m marshalling longs (64bit Integers), values greater than 32bit cannot be marshalled by value but […]

Categories
Uncategorized

A day of upgrades

I followed Neil and Alex‘s lead and upgraded my blog to dasBlog too. Luckily because dasBlog is an evolution of BlogX the migration was pretty smooth. I may well tweak the theme slightly yet though because I miss my roadsign 🙂 I’ve also flashed my iPaq 2210 with the latest 1.10 ROM (Thanks to Ed at […]

Categories
NETCF

New Controls article posted

I’ve posted a new article to OpenNETCF.org about hosting Native windows controls from within the .NET Compact Framework. The approach used allows you to host the control within a Control object and receive notification back from the control thus supporting Events. The first control to use this technique was the HTMLViewer in the Smart Device […]

Categories
NETCF

A consistent way to get native window handles (HWND)

In the full desktop framework all Controls and Forms expose the Handle property which represents the native window handle of the control – this can be passed to API functions. In the Compact Framework this property is not implemented. In the Smart Device Framework we have created the OpenNETCF.Windows.Forms.IWin32Window interface which matches the equivalent interface on […]

Categories
Native

eMbedded Visual C++ 4.0 Service Pack 3

http://www.microsoft.com/downloads/details.aspx?FamilyId=5BB36F3E-5B3D-419A-9610-2FE53815AE3B&displaylang=en This latest service pack solves a number of issues encountered when working with multiple CE.NET 4.x versions 4.0, 4.1 etc. the full details are available on Amit’s weblog.