http://www.codeproject.com/Articles/13601/COM-in-plain-C
this is well-worth going over. forget that it's "COM" and that you may not "respect" COM itself or microsoft themselves, forget that it's win32 - forget _all_ that: focus on what it's doing. and bear in mind that this is what you'll need. all of it. i am not joking. if you miss something out like co-classes like firefox's XPCOM you'll run into difficulties later. p.s. even gobject has those "interfaces" concepts, now. the factory stuff. and that's pure c.
