![MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Скачать руководство пользователя страница 168](http://html1.mh-extra.com/html/macromedia/coldfusion-4-5-cfml-language/coldfusion-4-5-cfml-language_reference_3287257168.webp)
144
CFML Language Reference
CFOBJECT Type="COM"
CFOBJECT allows you to create and use COM (Component Object Model) objects. Any
automation server object type that is currently registered on a machine can be
invoked. You can use a utility like Microsoft’s OLEView to browse COM objects.
OLEView, as well as information about COM and DCOM, can be found at Microsoft’s
OLE Development web site http://www.microsoft.com/oledev/.
To use CFOBJECT, you need to know the program ID or filename of the object, the
methods and properties available through the IDispatch interface, and the arguments
and return types of the object’s methods. The OLEView utility can give you this
information for most COM objects.
Syntax
<CFOBJECT TYPE="COM"
ACTION="action"
CLASS="program_ID"
NAME="text"
CONTEXT="context"
SERVER="server_name">
ACTION
Required. One of the following:
•
Create — Use Create to instantiate a COM object (typically a DLL) prior to
invoking methods or properties.
•
Connect — Use Connect to connect to a COM object (typically an EXE) that is
already running on the server specified in SERVER.
CLASS
Required. Enter the component ProgID for the object you want to invoke.
NAME
Required. Enter a name for the object.
CONTEXT
Optional. InProc, Local, or Remote. Uses Registry setting when not specified.
SERVER
Required when CONTEXT="Remote". Enter a valid server name using UNC
(Universal Naming Convention) or DNS (Domain Name Server) conventions, in
one of the following forms:
SERVER="\\lanserver"
SERVER="lanserver"
SERVER="http://www.servername.com"
SERVER="www.servername.com"
SERVER="127.0.0.1"
Содержание COLDFUSION 4.5-CFML LANGUAGE
Страница 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Страница 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Страница 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Страница 296: ...272 CFMLLanguageReference INPUT TYPE text NAME number2 BR INPUT TYPE submit NAME submit VALUE Add FORM BODY HTML...
Страница 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Страница 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Страница 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Страница 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Страница 557: ...Chapter 2 ColdFusion Functions 533 P CFOUTPUT Value i is employee keysToStruct i CFOUTPUT P CFLOOP CFIF BODY HTML...
Страница 584: ...560 CFMLLanguageReference...
Страница 594: ...570 CFMLLanguageReference...