-
Avalon COM
Hey all,
Has anyone read any of the Longhorn MSDN articles yet? I was just reading an article on Avalon (replacement for GDI+) and it appears to be COM, like DirectX (with which it is intimately related).
Does anyone know some good articles where I can read up on COM theory? I've tried DirectX before and the COM interfaces throw me, not because I can't use them (I can) but because I don't know how it's working and that annoys me.
-
Take a look at this:
http://msdn.microsoft.com/library/de...sdn_comppr.asp
Look at the TOC on the left for other articles on COM as well.
I learned most of what I know on COM basics from this book. Even though that book is getting kinda old, it is still very applicable.
ATL (if you don't already know) is the Active Template Library. It's similiar to STL as far as libraries go. It's a set of templates that make implementing a COM object alot easier. There are also ATL templates that make using COM objects alot easier as well.
The technical articles will tell you "how it's working", but you'll probably want to get your hands dirty and write your own COM object, and applications that use it. For this, I recommend getting a good book. Technical articles and online tutorials will only take you so far on a subject as broad as COM.
gg
-
I've always secretely hoped that from what I read COM was kind of on the way out. But if they're using it in Avalon, I guess it's sticking around for at least another decade after longhorn is out.
-
You may want to have a glance at 'The COM Programmer's cookbook' as it shows the COM structure in C with out hiding the gory details behind C++ classes. See TOC on link that Codeplug posted.