Dansk - English

Short version - Full version


Component programming (Fall 2003)

Course code : ICOMI-U01
ECTS Credits : 7,5 Status : Optional for specified Programme
Placement : 5-7 semester Hours per week : 4
Length : 1 semester Teaching Language : English if English students are present

Principal Content : COM (Component Object Model) components and interfaces.
Interface query and reference counting.The unknown interface.
COM servers and clients. Marshalling and threading models.
Building a COM component from scratch. Registration of components.
Creating COM components with the ATL (Active Template Library) COM Wizards.
COM IDL (Interface Definition Language) files and the MIDL (Microsoft IDL) compiler.
Type libraries. Support for writing COM clients. Using smart pointers.
Deployment of components. DCOM (Distributed COM).
The MFC implementation of COM. The MFC ActiveX ControlWizard.
Automation. The dispatch interface. Automation properties and methods.
Automating document/view applications. Automation object models.
VTBL binding versus early and late binding. Dual interfaces.
ActiveX controls. Properties, methods and events. Outgoing interfaces.
Using ActiveX controls in applications and on Web pages. Licensing and security.
Intrduction to COM+.
Teaching method : Class teaching varied with group work on exercises and a finishing assignment.
About 25% lectures – 75% practical work.
Required prequisites : Knowledge of object-oriented programming, using MFC and Visual C++. (OOP2+OOP3)
Responsible teacher : Bendt Hansen , beh@ihk.dk