Query (Chapter 2)

Click to open or copy the Query sample.

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.

Building SDK Samples

This sample uses the following keywords:

addref; capp; cimpisampleone; cimpisampletwo; cobject1; cobject2; cobject3; commandparams; createobject1; createobject2; createobject3; createwindow; declare_interface_; defwindowproc; deleteinterfaceimp; dispatchmessage; exttextout; failed; getclientrect; getdc; getmessage; getstring; getsyscolor; getwindowlong; loadcursor; loadicon; lstrcpy; lstrlen; makeintresource; message; postmessage; postquitmessage; queryinterface; querywndproc; registerclass; release; releasedc; releaseinterface; resultfromscode; setbkcolor; settextcolor; setwindowlong; showwindow; stdmethod; stdmethod_; stdmethodimp_; succeeded; text; translatemessage; updatewindow; winmain