12.04.2014 Views

6 folii na stronę

6 folii na stronę

6 folii na stronę

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Kategorie komponentów<br />

Programowanie składnikowe<br />

w modelu COM<br />

Jarosław Francik<br />

maj 2002<br />

Institute of Informatics, Silesian University of Technology, Gliwice, Poland<br />

Kategorie komponentów<br />

• Cel: usprawnienie wyszukiwania klas<br />

komponentów<br />

• Pozycje rejestru systemowego:<br />

– W HKEY_CLASSES_ROOT:<br />

• Component Categories – zestawienie kategorii (CATID)<br />

– dla poszczególnych klas:<br />

• Implemented Categories<br />

• Required categories<br />

Institute of Informatics, Silesian University of Technology, Gliwice, Poland<br />

Kategorie komponentów<br />

• Domyślne klasy<br />

moż<strong>na</strong> je tworzyć nie z<strong>na</strong>jąc CLSID, a tylko CATID!<br />

• Emulacja klas:<br />

klucz TreatAs<br />

funkcja CoTreatAsClass<br />

• Component Categories Ma<strong>na</strong>ger<br />

interface ICatRegister<br />

interface ICatInformation<br />

Institute of Informatics, Silesian University of Technology, Gliwice, Poland<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!