Click to open or copy the Beeper4 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.
This sample uses the following keywords:
addref; beep; cbeeper; cbeeperfactory; cimpisupporterrorinfo; createerrorinfo; createinstance; declare_interface_; define_guid; dispgetidsofnames; dllcanunloadnow; dllgetclassobject; exception; failed; free; get_sound; getidsofnames; gettypeinfo; gettypeinfocount; gettypeinfoofguid; interfacesupportserrorinfo; invoke; libmain; libmain32; loadregtypelib; loadstring; loadtypelib; lockserver; malloc; messagebeep; multibytetowidechar; objectdestroyed; oletext; primarylangid; put_sound; queryinterface; release; releaseinterface; resultfromscode; setdescription; seterrorinfo; setguid; sethelpcontext; sethelpfile; setsource; stdmethod; stdmethod_; stdmethodimp_; succeeded; tlsalloc; tlsfree; tlsgetvalue; tlssetvalue; unlockdata