texts stringlengths 0 1.24M | names stringlengths 13 33 |
|---|---|
ComAggregate Example
This example shows how aggregation is implemented using the COM compiler. The example is described in detail in chapter two of the book "Inside OLE".
With aggregation, an object which implements one or several interfaces is reused without modification and without the need to forward each method o... | Com/Docu/Aggregate.odc |
ComConnect Example
This example shows how connectable objects are implemented using the COM compiler. The example is described in detail in chapter four of the book "Inside OLE". Connectable objects offer an interface which allows to install interfaces which can be called back by the connectable object.
A connectable ... | Com/Docu/Connect.odc |
DevComDebug
see documentationoftheDirect-To-COMCompilerenvironment.
| Com/Docu/Debug.odc |
Direct-To-COM Compiler
The Component Object Model
The Component Object Model (COM) is an object model which allows independently developed binary software components to connect to and communicate with each other in a well-defined manner. COM defines a binary standard for object interoperability which is programming-... | Com/Docu/DTC-COM.odc |
Direct-To-COM Compiler
Contents
COMCompilerExtensions
COMSysflagsforInterfaceStructures
COMsysflagsforVARparameters
TheModuleCOM
NewPredefinedProcedures
Unions
COMProgrammingHints
CompilerImplementationRestrictions
The Direct-To-COM (DTC) compiler is a Component Pascal compiler that supports Microsoft's Component O... | Com/Docu/DTC-Comp.odc |
Direct-To-COM Compiler
The Integrated Development Environment
Contents
Linker
InterfaceBrowser
COMInterfaceInspector
OtherCOMCommands
Besides the compiler (which is described in COM Compiler Extension documentation), the DTC development environment offers some special facilities. Most of them are accessible through... | Com/Docu/DTC-Env.odc |
Map to the Direct-To-COM Compiler Documentation
Introduction
Direct-To-COM Compiler Tutorials
TheComponentObjectModel HowtoDevelopnewCOMObjects
TheDirect-To-COMCompiler Direct-To-COMExamples
TheDevelopmentEnvironment
Related Documentation
ComponentPascelLanguageReport Platform-SpecificIssues
BlackBoxDocumentation W... | Com/Docu/DTC-Help.odc |
Direct-To-COM Compiler
How to Develop new COM Objects
This text gives an overview of the typical way in which new OLE objects are developed. It summarizes the most important aspects of what is detailed in the BlackBox user's guide. BlackBox is the integrated development environment (IDE) for the Direct-To-COM Compon... | Com/Docu/DTC-HowTo.odc |
Direct-To-COM Compiler
Introduction
COM
Microsoft's Component Object Model (COM) is a language and compiler independent interface standard for object interoperability on the binary level. COM specifies how objects implemented in one component can access services provided by objects implemented in another component. ... | Com/Docu/DTC-Intro.odc |
ComEnum
ComEnum is a library containing implementations for the following standard enumerators:
- IEnumUnknown
- IEnumString
- IEnumFormatEtc
- IEnumOleVerb
To use one of the enumerators, import the corresponding creation procedure and call it with your actual data.
PROCEDURE CreateIEnumFORMATETC (num: INTEGER;... | Com/Docu/Enum.odc |
ComEnumRect Example
This is a simple example adapted form the same example in the book "Inside OLE".
The interface IEnumRECT (an enumerator for rectangles) is defined and implemented in this module.
The interface consists of the following four methods:
IEnumRECT = POINTER TO ABSTRACT RECORD
["{00021140-... | Com/Docu/EnumRect.odc |
DevComInterfaceGen
DEFINITION DevComInterfaceGen;
IMPORT Dialog;
VAR
dialog: RECORD
library: Dialog.List;
fileName: ARRAY 256 OF CHAR;
modName: ARRAY 64 OF CHAR
END;
PROCEDURE Browse;
PROCEDURE GenAutomationInterface;
PROCEDURE GenCustomInterface;
PROCEDURE BrowseTypeLib;
PROCEDURE InitDialog;
... | Com/Docu/InterfaceGen.odc |
ComKoala Example
This example is one of the simplest COM examples. It provides a component which implements the IUnknown interface. In DTC Component Pascal, a concrete extension of the base interface must be defined. The two methods AddRef and Release are implemented by the compiler, and for QueryInterface, the default... | Com/Docu/Koala.odc |
ComKoalaDll Example
This version of the Koala example can be linked as an independent DLL. It can be tested with the ObjUser.exe program which is provided with the book "Inside OLE". Note that you have to set the ObjUser.exe program into DLL mode.
The implementation of the DLL only slightly differs from the first ComK... | Com/Docu/KoalaDll.odc |
ComKoalaExe Example
This version of the Koala example can be linked as an independent exe. It can be tested with the ObjUser.exe program which is provided with the book "Inside OLE". Note that you have to set the ObjUser.exe program into EXE mode.
The EXE file opens its application window which is closed as soon as th... | Com/Docu/KoalaExe.odc |
ComKoala Example: ComKoalaTst
Test program for ComKoala. There is no separate documentation.
| Com/Docu/KoalaTst.odc |
ComObject Example
This example implements a simple OLE server which provides the following OLE object:
This object implements the four interfaces IUnknown, IOleObject, IDataObject and IPersistStorage and uses several other interfaces. Beside of this, the module also implements a factory object which can be registere... | Com/Docu/Object.odc |
ComPhoneBook Example
In this example we show the implementation of a COM component which implements a simple phone directory database that manages customer names and telephone numbers. This database can be queried by name and by number.
For our phone directory service we define the interface ILookup. This interface co... | Com/Docu/PhoneBook.odc |
ComPhoneBookActiveX Example
In this example a simple ActiveX control is implemented. The control offers the same functionality as the phone book in the ComPhoneBook example, but in this example, clients communicate through a dispatch interface. The control will be linked into a DLL and can be used as an ActiveX control... | Com/Docu/PhoneBookActiveX.odc |
ComPhoneBook Example: ComPhoneBookClient
Phonebook client program. There is no separate documentation.
| Com/Docu/PhoneBookClient.odc |
Map to the Direct-To-COM Examples
COM Interface Usage
ComEnumRectdocu ComEnumRectsources simple COM object
ComObjectdocu ComObjectsources minimal OLE server
ComConnectdocu ComConnectsources connection points
ComAggregatedocu ComAggregatesources usage of aggregation
Inprocess and Local Servers
ComKoaladocu ComKoalaso... | Com/Docu/Sys-Map.odc |
ComTools
ComTools is a library containing routines for the handling of often used and partially unsafe data structures. These data structures are unsafe because they contain C unions or C pointers (not interface pointers) or both.
ComTools can be imported as a tool package or its source can be used as starting point ... | Com/Docu/Tools.odc |
DevTypeLibs
Module DevTypeLibs deals with information provided by COM type libraries. This module has a private interface, it is only used internally.
| Com/Docu/TypeLibs.odc |
MODULE ComAggregate;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
references = "adapted from Reuse sample in "Inside OLE", 2nd ed."
changes = "
- YYYYMMDD, nn, ...
"
issue... | Com/Mod/Aggregate.odc |
MODULE ComConnect;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
references = "adapted from Connect sample in "Inside OLE", 2nd ed."
changes = "
- YYYYMMDD, nn, ...
"
issue... | Com/Mod/Connect.odc |
MODULE ComDebug;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
changes = "
- 20070205, bh, Unicode support
- 20141027, center #19, full Unicode support for Component Pascal i... | Com/Mod/Debug.odc |
MODULE ComEnum;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
changes = "
- YYYYMMDD, nn, ...
"
issues = "
- ...
"
**)
IMPORT COM, WinApi, WinOle, ComTools;
TYPE
I... | Com/Mod/Enum.odc |
MODULE ComEnumRect;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
references = "adapted from EnumRect sample in "Inside OLE", 2nd ed."
changes = "
- YYYYMMDD, nn, ...
"
iss... | Com/Mod/EnumRect.odc |
MODULE ComInterfaceGen;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
changes = "
- 20070205, bh, Unicode support
- 20160110, center #92, Office automation
"
issues = "
- ... | Com/Mod/InterfaceGen.odc |
MODULE ComKoala;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
references = "adapted from Koala sample in "Inside OLE", 2nd ed."
changes = "
- YYYYMMDD, nn, ...
"
issues = ... | Com/Mod/Koala.odc |
MODULE ComKoalaDll;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
references = "adapted from Koala sample in "Inside OLE", 2nd ed."
changes = "
- YYYYMMDD, nn, ...
"
issues... | Com/Mod/KoalaDll.odc |
MODULE ComKoalaExe;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
changes = "
- 20070205, bh, Unicode support
"
issues = "
- ...
"
**)
IMPORT S := SYSTEM, COM, WinApi,... | Com/Mod/KoalaExe.odc |
MODULE ComKoalaTst;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
changes = "
- YYYYMMDD, nn, ...
"
issues = "
- ...
"
**)
IMPORT COM, WinApi, WinOle, StdLog;
CONST
... | Com/Mod/KoalaTst.odc |
MODULE ComObject;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
changes = "
- 20070205, bh, Unicode support
"
issues = "
- ...
"
**)
IMPORT
SYSTEM, COM, WinApi, WinOl... | Com/Mod/Object.odc |
MODULE ComPhoneBook;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
changes = "
- YYYYMMDD, nn, ...
"
issues = "
- ...
"
**)
IMPORT COM, WinApi, WinOle, ComTools;
CON... | Com/Mod/PhoneBook.odc |
MODULE ComPhoneBookActiveX;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
changes = "
- YYYYMMDD, nn, ...
"
issues = "
- ...
"
**)
IMPORT COM, WinApi, WinOle, ComTools,... | Com/Mod/PhoneBookActiveX.odc |
MODULE ComPhoneBookClient;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
changes = "
- YYYYMMDD, nn, ...
"
issues = "
- ...
"
**)
IMPORT COM, WinOle, WinApi, ComTools, ... | Com/Mod/PhoneBookClient.odc |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 3