Custom Plug-in Sample
8/28/2008
This code sample is named memwatcher. It illustrates how to create a custom Today screen item for Windows Mobile 6 Professional .
Feature Area |
---|
Relevant APIs |
---|
To run the code sample
Navigate to the solution file (*.sln), and double-click it. By default, the solution file is copied to the following folder:
C:\Program Files\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\memwatcher
Microsoft Visual Studio 2005 launches and loads the solution.
Build the solution (Ctrl+Shift+B).
Copy the .cab file output of the memwatchercab project to the device and double-click the file on the device.
Set the following registry key on the device:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\SamplePlugin]
"Type"=dword:4
"Order"=dword:10
"Enabled"=dword:1
"DLL"="customPlugin.dll"
"Selectability"=dword:2
- Open the Settings-Today application and tap on the Items tab. Tap OK to close the dialog. This causes Today to reload all the applications on the Today screen, including the Memwatcher sample.
Development Environments
SDK: Windows Mobile 6 Professional SDK and Windows Mobile 6 Standard SDK
Development Environment: Visual Studio 2005.
ActiveSync: Version 4.5.