Simple IUnknown Example

Tech-Archive recommends: Fix windows errors by optimizing your registry



I'm very new to manually writing COM code, which I must now do as part of
developing a non-MFC/ATL application that must support drag and drop
operations.

I found a pretty good tutorial at http://www.catch22.net/tuts/dragdrop.asp
that covers some of the basics. But while it states it already explained how
to implement IUnknown members, it does not.

I've been searching the Web for the past 20 minutes and I don't understand
why I can't find a simple implementation of the IUnknown members. Can anyone
help me understand why I'm not finding them?

I had Inside OLE 2 but, after being forced to move during some financial
problems, my search through packed boxes failed to turn up this book.

Surely, people are implementing IUnknown all the time. Can anyone point me
to where some examples are given?

Thanks!

Jonathan


.