RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataBlockInterpreter.CallCreateObject Method

Creates a COM object on a remote application server given its class name.

Pascal
function CallCreateObject(Name: string): OleVariant; override;
C++
virtual __fastcall OleVariant CallCreateObject(AnsiString Name);

CallCreateObject sends a message to the remote application server, telling it to create an object of the class specified by the Name parameter. Name is the string representation of the Class ID (CLSID). CreateObject returns a reference to an interface that can be used to communicate with the remote COM object. 

 

CreateOleObject

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!