Export (0) Print
Expand All
Expand Minimize

RAPI Device Information

Windows Mobile 6.5
4/8/2010

DeviceInfo is a Win32 Desktop component that demontrates the use of IRAPI interfaces to get information about the Windows® phone connected through ActiveSync and the corresponding communication medium used. Once the information is collected, it is printed on the console window

  1. Open the project file in Visual Studio. It is located in the folder C:\Program Files\Windows Mobile 6.5.3 DTK\samples\common\CPP\Win32\Rapi\DeviceInfo\DeviceInfo.sln

  2. Navigate to "Tools" -> "Options", and expand "Projects and Solutions" and click "VC++ Directories".

  3. In "Show directories for:" select "Include files".

  4. Add the path to the mobile device include directory. If you accepted the defaults when installing the Windows Mobile SDK, then the new directory will be in " C:\Program Files\Windows Mobile 6.5.3 DTK\Activesync\Inc"

  5. In "Show directories for:" select "Library files".

  6. Add the path to the mobile device library directory. If you accepted the defaults when installing the Windows Mobile SDK, then the new directory will be in " C:\Program Files\Windows Mobile 6.5.3 DTK\Activesync\Lib"

  7. Navigate to "Build", and click "ReBuild All" to compile the executable file.

  8. From a command line, run DeviceInfo.exe while a device is connected

SDK: Windows Mobile Professional SDK and Windows Mobile Standard SDK

Development Environment: Visual Studio 2005 or 2008.

ActiveSync: Version 4.5.

Community Additions

ADD
Show:
© 2014 Microsoft