Leaked source code of windows server 2003
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.
 
 
 
 
 
 
Shaswata Das 827363a95b
Create LICENSE
4 years ago
..
chicago commiting as it is 4 years ago
daytona commiting as it is 4 years ago
app.cpp commiting as it is 4 years ago
app.h commiting as it is 4 years ago
bang.ico commiting as it is 4 years ago
debug.log commiting as it is 4 years ago
default.ico commiting as it is 4 years ago
depend.mk commiting as it is 4 years ago
dirs commiting as it is 4 years ago
doc.cpp commiting as it is 4 years ago
doc.h commiting as it is 4 years ago
filelist.mk commiting as it is 4 years ago
icf.cpp commiting as it is 4 years ago
icf.h commiting as it is 4 years ago
ido.cpp commiting as it is 4 years ago
ido.h commiting as it is 4 years ago
iec.cpp commiting as it is 4 years ago
iec.h commiting as it is 4 years ago
ioipao.cpp commiting as it is 4 years ago
ioipao.h commiting as it is 4 years ago
ioipo.cpp commiting as it is 4 years ago
ioipo.h commiting as it is 4 years ago
ioo.cpp commiting as it is 4 years ago
ioo.h commiting as it is 4 years ago
ips.cpp commiting as it is 4 years ago
ips.h commiting as it is 4 years ago
makefile commiting as it is 4 years ago
makefile.new commiting as it is 4 years ago
obj.cpp commiting as it is 4 years ago
obj.h commiting as it is 4 years ago
pre.cpp commiting as it is 4 years ago
pre.h commiting as it is 4 years ago
readme.txt commiting as it is 4 years ago
resource.h commiting as it is 4 years ago
simpsvr.cpp commiting as it is 4 years ago
simpsvr.def commiting as it is 4 years ago
simpsvr.h commiting as it is 4 years ago
simpsvr.ico commiting as it is 4 years ago
simpsvr.mak commiting as it is 4 years ago
simpsvr.prj commiting as it is 4 years ago
simpsvr.rc commiting as it is 4 years ago
strings.rc commiting as it is 4 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.