home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
com
/
oleaut
/
dispdemo
/
readme.txt
< prev
next >
Wrap
Text File
|
1996-01-17
|
519b
|
13 lines
OLE Automation Sample
The DispDemo sample is an OLE Automation controller. DispDemo drives the
two polygon servers which are also provided as samples.
The interesting part of DispDemo is in the remote polygon class. The remote
polygon class was constructed so that the IDispatch members could be
accessed conveniently from C++. The remote polygon class does this by
transforming the C++ calls into IDispatch calls. The code that calls these
routines has no idea that it is going through IDispatch.