Click to open or copy the Edataobj sample.
Click to open or copy the resource files (required).
In order to build any of the Samples for Inside OLE, 2nd Edition, you need to copy the required files. You only need to copy these files once.
See the online version of Inside OLE in the MSDN Library for a description of this sample.
This sample uses the following keywords:
addref; advise; advisorwndproc; bitblt; capp; cch; cdataobject; cdataobjectclassfactory; cenumformatetc; cimpidataobject; clone; closemetafile; coinitialize; coregisterclassobject; corevokeclassobject; couninitialize; createcompatiblebitmap; createcompatibledc; createdataadviseholder; createinstance; createmetafile; createsolidbrush; createwindow; dadvise; dataobjectwndproc; defwindowproc; deletedc; deleteinterfaceimp; deletemetafile; deleteobject; destroywindow; dispatchmessage; dunadvise; enumadvise; enumdadvise; enumformatetc; failed; fillrect; getcanonicalformatetc; getdata; getdatahere; getdc; getmessage; getsystemmetrics; gettickcount; getwindowlong; getwindowtext; globalalloc; globallock; globalunlock; iswindow; loadbitmap; loadcursor; loadicon; lockserver; lstrcmpia; makeintresource; messagebox; next; objectdestroyed; peekmessage; postmessage; postquitmessage; querygetdata; queryinterface; registerclass; release; releasedc; releaseinterface; renderbitmap; rendermetafilepict; rendertext; reset; resultfromscode; selectobject; setcursor; setdata; setdefformatetc; setmessagequeue; setrect; setwindowlong; showcursor; skip; stdmethodimp_; text; translatemessage; unadvise; winmain; wsprintf