Partager via


Applications and Services Code Samples (Compact 7)

3/12/2014

Windows Embedded Compact 7 contains the following code samples that apply to Applications and Services.

Warning

The sample code is only a starting point for development. As with any code, you must ensure proper error handling, identify security risks, and thoroughly test it before considering it for production use.

Feature area Description Location Related topic

Remote Desktop Connection

Demonstrates how to create a Dynamic Virtual Channel (DVC) client component.

%_WINCEROOT%\public\rdp\sdk\samples\DVC\Client

Dynamic Virtual Channels (DVC) Sample

Remote Desktop Connection

Demonstrates how to create a DVC server component.

%_WINCEROOT%\public\rdp\sdk\samples\DVC\Server

Dynamic Virtual Channels (DVC) Sample

Remote Desktop Connection

Uses a file system driver to implement a file redirection filter.

%_WINCEROOT%\public\rdp\oak\uit\filterfs

Remote Desktop Connection

Internet Explorer Embedded

Provides a sample browser that includes many features of Internet Explorer Embedded.

%_WINCEROOT%\public\ie7\oak\iesample

Internet Explorer Embedded

Internet Explorer Embedded

Provides sample sets of source files for Internet Explorer Embedded container applications that make use of Microsoft Silverlight for Windows Embedded for UI customization and graphics hardware acceleration. These samples also support touch gestures.

%_WINCEROOT%\public\ie7\oak\ieexr

Internet Explorer Embedded

Internet Explorer Embedded

Provides a sample Internet Options dialog box for setting Internet Explorer Embedded options and also an Internet item in Control Panel.

%_WINCEROOT%\public\ie7\oak\inetcpl

Internet Explorer Embedded

UPnP

Demonstrates how to implement UPnP as shown in the following examples:

  • The sample in the av directory uses the audio-video (AV) Control Point API to implement a basic UPnP AV control point.
  • The sample in the igd directory provides a sample implementation of the Internet Gateway Device (IGD) device control protocol (DCP).
  • The sample in the discoverservice directory demonstrates the use of the generic (that is, non-DCP-specific) UPnP Control Point and Device Host APIs.

%_WINCEROOT%\public\servers\oak\samples\upnp

UPnP

Message Queuing (MSMQ)

Uses the MSMQ API to demonstrate MSMQ administration and use as shown in the following samples:

  • The sample in the cli directory is a utility that you can use to execute MSMQ APIs from the command line.
  • The sample in the visadm directory is a GUI front-end for the command-line MSMQAdm utility.
  • The samples in the cetcha and etchasvr directories are utilities that you can use to test the MSMQ installation visually. They implement a distributed drawing board that can be shared by two computers.
  • The sample in the msmqadm directory is a command-line utility that you can use to perform MSMQ administration tasks.
  • The sample in the xml directory is a utility that automatically performs simple MSMQ operations based on commands and parameters that are specified in an XML file. It demonstrates the use of both the MSMQ API and MSXML Simple API for XML (SAX) capabilities.

%_WINCEROOT%\public\servers\sdk\samples\msmq

MSMQ Message Queuing

Phone Dialing

Demonstrates how to override the default formatting of phone numbers on the display, so country-specific formatting can be implemented.

%_WINCEROOT%\public\ossvcs\oak\Samples\DialParser

None

Web Services on Devices

Demonstrates how to create applications that use the Web Services on Devices API (WSDAPI) as shown in the following samples:

  • The stock quote sample demonstrates basic client application and device host development and illustrates simple control messaging.
  • The eventing sample provides a client application and creates a service on a device host and then connects the client application to the device host/service.
  • The file service sample illustrates simple control messaging, eventing, and attachments.

%_WINCEROOT%\public\servers\sdk\samples\wsd

Web Services on Devices

See Also

Concepts

Code Samples

Other Resources

Windows Embedded Compact 7