Dansk - English

Kort version - Fuld version


Component programming (Efterår 2003)

Kursuskode : ICOMI-U01
ECTS Point : 7,5 Status : Tilvalg for den valgte retning
Revideret : 07/11 2003 Oprettet : 15/11 2001
Placering : 5-7 semester Timer pr. uge : 4
Længde : 1 semester Undervisningssprog : Engelsk hvis der er engelsksprogede tilstede

Målsætning : To obtain a basic understanding of the structure and workings of COM components and interfaces and to learn how to write and use different types of COM components.
Hovedindhold : 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+.
Undervisningsform : Class teaching varied with group work on exercises and a finishing assignment.
About 25% lectures – 75% practical work.
Krævede forudsætninger : Knowledge of object-oriented programming, using MFC and Visual C++. (OOP2+OOP3)
Anbefalede forudsætninger : -
Relationer : Relevant to various final thesis projects
Prøveform : Se under bemærkninger
Censur : Intern
Bedømmelse : 13-skala
Bemærkninger : The finishing report counts as half the grade. The other half is given for a 10 - 15 min. Talk about a published question drawn at random at the oral exam.
Undervisningsmateriale : Bendt Hansen: COM Programming - Notes and Exercises. January 2003.
Supplementary literature will be suggested.
Ansvarlig underviser : Bendt Hansen , beh@ihk.dk