Shedding Light on windows Programming Home Training Resources Registration About the Paul Yao Company
The Paul Yao Company





Microsoft Windows Embedded Partner


Advanced System Services for Windows CE

Overview
This workshop introduces experienced Windows programmers to the system services features of the Win32 API as implemented on Windows CE. Topics include UNICODE, multi-threaded programming, memory management, structured exception handling, COM Fundamentals, and Windows Sockets programming.

Who Should Attend
This lecture and lab-based workshop is intended for software engineers who need to understand the Win32 API as implemented on Windows CE. This includes software architects, designers, programmers, testers, and development managers. Attendees should have a minimum of 6 months experience writing Win16 or Win32 programs for any member of the Microsoft Windows family of operating systems.

Workshop Highlights
  • Building Win32 dynamic link libraries
  • The Component Object Model
  • Windows Sockets
  • Application Memory Management
  • Installable Drivers
  • Win32 Exception handling

Performance Objectives
On completion of this workshop attendees will be able to:
  • Describe the basic design goals of Windows CE and outline the set of Win32 services which are supported.
  • Write code to correctly handle Unicode strings, the character set of Windows CE.
  • Describe the basic operation of a DLL in Windows CE.
  • Write code for a Windows CE DLL.
  • Describe available data storage mechanisms in Windows CE.
  • Describe the types of memory available in the Win32 API.
  • Describe the memory layout and advanced memory features of Windows CE.
  • Describe the role of the process and threads in the Win32 API.
  • Write code to create processes and threads using the Win32 API.
  • Describe the role of synchronization in coordinating multi-threaded operations.
  • Write code to support the four types of Win32 synchronization objects: critical sections, mutexes, semaphores, and events.
  • Describe the basics of the Component Object Model (COM).
  • Write COM Client code to access a COM object in Windows CE.
  • Write COM Server code for an in-process server in Windows CE.
  • Describe how structured exception handling centralizes the handling of abnormal cases in a Win32 program.
  • Write code to support structured exception handling (__try and __except) and for structured termination handling (__try and __finally).
  • Write code to communicate between two computers using Windows Sockets.
  • Setup and debug a Windows CE program.

Workshop Syllabus
Monday Tuesday Wednesday Thursday Friday

The Unicode Character Set

  • Three Character Sets
  • Compiler Support
  • Win32 API Support

Windows CE Data Storage

  • Data Bases
  • File System
  • Registry

Dynamic Link Libraries

  • Building DLLs
  • Exporting Functions
  • Static & Dynamic Loading
  • DLL-based Resources

Processes

  • What Is a Process?
  • Programming Considerations

Threads

  • Architecture
  • To Use or Not to Use
  • API

Synchronization

  • Dedicated Synchronization objects
  • Synchronize with System Objects
  • Coding Considerations

Using COM Interfaces

  • What Is COM?
  • What Is a COM Interface?
  • Practical Issues

Using COM Components

  • Creating COM Objects
  • Globally Unique Identifiers
  • Multi-Interface Components

Implementing COM Interfaces

  • C++ Class Interface Components
  • IUnknown Member Functions
  • Multi-Interface Components

Implementing COM In-Process Servers

  • IClassFactory Interface
  • Exported Entry Points
  • Creating GUIDs with GUIDGEN

Private Memory

  • Private Pages
  • Heap Allocation
  • Resources - R/O Memory

Shared Memory

  • Benefits of Shared Memory
  • Memory Mapped Files
  • Shared Dynamic Memory
  • Shared Static Memory

Installable Drivers

  • Locating Installable Drivers
  • Implementing Installable Drivers
  • Structured Exception Handling

Exception Handling

  • C++ Exceptions
  • Termination Handling
  • Internals

Windows Socket Clients

  • Socket Client Programming
  • Build Mechanics

Windows Socket Servers

  • Socket Server Programming
  • Common Socket Tasks
CONTACT US LOGISTICS REQUEST MORE INFORMATION