All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 C# - Heartbeat.NET
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

ctacke

877 Posts

Posted - 06 May 2002 :  12:00:40  Show Profile  Email Poster
Heartbeat.exe (.NET version)


This is a .NET version (written in C#) of the Heartbeat application that flashes an LED on your development system.

It demonstrates the use of CreateFile, WriteFile, GetLastError and CloseHandle via PInvoke.

Heartbeat.NET takes an optional command-line parameter for the number of iterations, defaulting to infinite.

This application requires a CE.NET image and the Compact Framework installed on the device.

Key APIs Used

CreateFile
WriteFile
ReadFile

Lines of Code: 112


Source Download
Rev 1 - May 6, 02 (9k zip).


modified March 31, 02 (ctacke) - added key APIs and LOC
Edited by akidder 20-Feb-2003: Add link to Compact Framework link page (.NET tools).
Edited by akidder 7-Jan-2003: correct release number/link for download
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000