Windows NT 4.0 source code leak
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.
 
 
 
 
 
 
Adam b4a8d373d8
Create README.md
5 years ago
..
daytona initial commit 5 years ago
app.cpp initial commit 5 years ago
app.h initial commit 5 years ago
bang.ico initial commit 5 years ago
debug.log initial commit 5 years ago
default.ico initial commit 5 years ago
depend.mk initial commit 5 years ago
dirs initial commit 5 years ago
doc.cpp initial commit 5 years ago
doc.h initial commit 5 years ago
filelist.mk initial commit 5 years ago
icf.cpp initial commit 5 years ago
icf.h initial commit 5 years ago
ido.cpp initial commit 5 years ago
ido.h initial commit 5 years ago
iec.cpp initial commit 5 years ago
iec.h initial commit 5 years ago
ioipao.cpp initial commit 5 years ago
ioipao.h initial commit 5 years ago
ioipo.cpp initial commit 5 years ago
ioipo.h initial commit 5 years ago
ioo.cpp initial commit 5 years ago
ioo.h initial commit 5 years ago
ips.cpp initial commit 5 years ago
ips.h initial commit 5 years ago
makefile initial commit 5 years ago
makefile.new initial commit 5 years ago
obj.cpp initial commit 5 years ago
obj.h initial commit 5 years ago
pre.cpp initial commit 5 years ago
pre.h initial commit 5 years ago
readme.txt initial commit 5 years ago
resource.h initial commit 5 years ago
simpsvr.cpp initial commit 5 years ago
simpsvr.def initial commit 5 years ago
simpsvr.h initial commit 5 years ago
simpsvr.ico initial commit 5 years ago
simpsvr.mak initial commit 5 years ago
simpsvr.prj initial commit 5 years ago
simpsvr.rc initial commit 5 years ago
strings.rc initial commit 5 years ago

readme.txt

Simpsvr
--------
This sample is the simplest OLE 2.0 object that can be written and
still support the visual editing feature. The object that this server
supports is a colored square with a black border.

See the MAKEFILE for compilation instructions.


Simple Server Objects Overview
------------------------------
Simple server consists of three main objects. The top level is CSimpSvrApp,
under which is CSimpSvrDoc, and the innermost level is CSimpSvrObj.CSimpSvrApp
is used to hold all the main window information. (eg. handle to the main
window, handles to the main, color, and help menus and the application
instance) Therefore, CSimpSvrApp always exists as long as the simple server
application is alive. The CSimpSvrApp instantiates the Class Factory, if
simple server is started as embedding. (ie. started by OLE) The next level
object is CSimpSvrDoc object. It is instantiated by the time CSimpSvrApp is
created. It manipulates the document window and also the hatch window.
(See OLE2UI for detail on the hatch window) The CSimpSvrObj, the innermost
simple server object, shows six OLE interfaces implementations in its nested
classes. The six OLE interfaces demonstrated are IOleObject, IPersistStorage,
IDataObject,IOleInPlaceActiveObject,IOleInPlaceObject,and IExternalConnection.
These six interfaces are implemented as different classes namely: COleObject,
CPersistStorage, CDataObject, COleInPlaceActiveObject, COleInPlaceObject,
and CExternalConnection. The CSimpSvrObj handles the drawing of the object
and all the OLE connections between the container and the server.