mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 years ago | |
---|---|---|
.. | ||
bmk.bat | 5 years ago | |
borland.mak | 5 years ago | |
clsid.c | 5 years ago | |
clsid.h | 5 years ago | |
crempoly.cpp | 5 years ago | |
crempoly.h | 5 years ago | |
dispdemo.def | 5 years ago | |
dispdemo.h | 5 years ago | |
dispdemo.ico | 5 years ago | |
dispdemo.r | 5 years ago | |
dispdemo.rc | 5 years ago | |
hostenv.h | 5 years ago | |
macmain.cpp | 5 years ago | |
makefile | 5 years ago | |
misc.cpp | 5 years ago | |
mk.bat | 5 years ago | |
mk.cmd | 5 years ago | |
readme.txt | 5 years ago | |
resource.h | 5 years ago | |
winmain.cpp | 5 years ago |
readme.txt
---------------------------------------
OLE Automation Sample Program: DispDemo
---------------------------------------
DispDemo is a sample OLE Automation controller. DispDemo
drives the two polygon servers which are also provided
as samples.
-----------------
Program Structure
-----------------
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.