Arkoa homepage
About Arkoa News & Events Contact Us Careers
  Course Catalog : Internet - Web :

ActiveX and COM Development

5 days

Course # 02-6500


Description

The course provides a solid introduction to Microsoft’s Component Object Model (COM) and the ActiveX standard. Participants will use the Active Template Library (ATL) to develop ActiveX controls and COM components that are combined to create a multi-tiered, Web-based application. Course exercises are done using C++.

Audience
Experienced developers looking to create ActiveX components-based applications.

Prerequisites
A thorough understanding of C++ and experience with Windows programming. Familiarity with Visual C++ is useful.

Hardware and Software
Windows NT Server and Visual C++ 5.0 or higher. The systems should be able to load a 3.5” solution disk.

 

 


Format

  • Presentation
  • Hands-on
  • Interactive Activities

Objectives
After completing this course, participants should be able to:

  • Describe the COM architecture in detail
  • Use the ATL Object Wizard to build ActiveX controls
  • Develop a custom interface to a COM object
  • Use COM development techniques to design and implement multi-tiered client/server applications

Topics


The Component Object Model

  • Unknown interface

Implementing COM

  • Creating COM objects
  • Class factories
  • Server implementation issues

Using Active Controls

Implementing an Active Control

  • ATL Wizard usage
  • ATL Classes that support control creation

Developing Custom Interfaces

  • Using IDL to describe/define an interface
  • Implementing an interface

Implementing Business Rules

  • Multi-threading support/issues—apartments
  • Code reuse strategies
  • Transaction processing support—MTS

COM Objects Design Considerations

  • Designing a COM-based system
  • Considerations for cost, speed, reliability, etc.

Automation and Type Information

  • Dual interfaces
  • Type librarie

 

 


Connectable Objects

  • ConnectionPointContainer
  • Connection points and sinks

Asynchronous Download

  • Downloading data—URLs
  • Asynchronous monikers
  • URL monikers

Controls, Embedding, and Categories

  • Embeddable objects
  • Properties/methods/events

Control Persistence

  • Object persistence
  • Streams and Internet Explorer
  • Property bags
  • Persistence in ATL
  • ATL property maps

Windowless Controls

  • Inactive controls—mouse interaction
  • Container support for windowless controls
  • Message dispatching

Code Download and Signing

  • Internet component download and
  • Packaging options