Author:admin

Date:2008-09-30T16:23:49.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@65 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
jfiat
2008-09-30 16:23:49 +00:00
parent 8b7fc644f4
commit 2450a58534
168 changed files with 215 additions and 262 deletions

View File

@@ -0,0 +1,5 @@
[[Property:title|EiffelCOM Class Reference]]
[[Property:weight|0]]
[[Property:uuid|476f2bc7-9afa-125e-0b68-3e4fc30e97f4]]
==View the [[ref:libraries/com/reference/index|EiffelCOM Class Reference]] ==

View File

@@ -7,7 +7,7 @@ The EiffelCOM library includes the following clusters:
* A [[Structures|Structures]] cluster includes wrappers for COM structures and additional data structures.
* A [[ref:libraries/com/reference/index|Support]] cluster provides access to helper classes.
{{seealso| '''See Also''' <br/>
{{seealso|<br/>
[[About COM and Eiffel]] <br/>
[[EiffelCOM Wizard|EiffelCOM wizard]] }}

View File

@@ -5,7 +5,7 @@ COM interfaces have several facets. First, an interface is a deferred, or an abs
==ECOM_INTERFACE==
For each interface listed in a type library, the EiffelCOM wizard generates a deferred class and two effective classes: a proxy of an interface pointer, or a client side class, and a stub of an interface pointer, or a server side class. The deferred interface class inherits from <eiffel>[libraries/com/reference/ecom_interface_chart.xml| ECOM_INTERFACE ]</eiffel> and has a deferred feature per each interface function. Both effective classes, or implemented interfaces, inherit from the deferred class and implement its functions. The functions of the interface proxy calls the underlying C layer, which in turn calls the COM component while the functions of the interface stub implement the component functionality.
For each interface listed in a type library, the EiffelCOM wizard generates a deferred class and two effective classes: a proxy of an interface pointer, or a client side class, and a stub of an interface pointer, or a server side class. The deferred interface class inherits from [[ref:libraries/com/reference/ecom_interface_chart|<eiffel>ECOM_INTERFACE</eiffel>]] and has a deferred feature per each interface function. Both effective classes, or implemented interfaces, inherit from the deferred class and implement its functions. The functions of the interface proxy calls the underlying C layer, which in turn calls the COM component while the functions of the interface stub implement the component functionality.
[[ref:libraries/com/reference/ecom_interface_chart|ECOM_INTERFACE]] holds a pointer to the underlying COM interface.
@@ -19,7 +19,7 @@ which queries a COM component internally. Every interface proxy class inherits f
==ECOM_STUB==
[[ref:libraries/com/reference/ecom_stub_chart|ECOM_STUB]] inherits from [[ref:libraries/com/reference/ecom_interface_chart|ECOM_INTERFACE]] , and exposes the feature <code> [[ref:libraries/com/reference/ecom_stub_chart|create_item]] </code> which allows creating the underlying COM object.
[[ref:libraries/com/reference/ecom_stub_chart|ECOM_STUB]] inherits from [[ref:libraries/com/reference/ecom_interface_chart|ECOM_INTERFACE]], and exposes the feature [[ref:libraries/com/reference/ecom_stub_chart|<code>create_item</code>]] which allows creating the underlying COM object.

View File

@@ -92,22 +92,22 @@ Many COM Automation servers have routines that take arguments with default value
For example, the following adds a new workbook to Excel. The default argument tells Excel to decide for itself how many worksheets to put in the new workbook:
<code>
class
MY_EXCEL_APPLICATION
class
MY_EXCEL_APPLICATION
inherit
APPLICATION_PROXY
inherit
APPLICATION_PROXY
ECOM_VARIANT_ACCESS
ECOM_VARIANT_ACCESS
feature
feature
add_workbook is
local
workbook: WORKBOOK_PROXY
do
workbook := workbooks.add (missing, 0)
end
add_workbook is
local
workbook: WORKBOOK_PROXY
do
workbook := workbooks.add (missing, 0)
end
</code>

View File

@@ -8,7 +8,7 @@ Platform: Windows <br/>
The EiffelCOM library provides support classes for the code generated by the EiffelCOM wizard. It has wrappings for standard COM data types such as VARIANT, SAFEARRAY, CURRENCY, DECIMAL, IUnknown, IDispatch, etc.
{{seealso| '''See Also''' <br/>
{{seealso|<br/>
[[EiffelCOM Wizard|EiffelCOM wizard]] }}