Datasnap.Win.SConnect.TDataBlockInterpreter.CallCreateObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CallCreateObject(Name: string): OleVariant;  override;

C++

virtual System::OleVariant __fastcall CallCreateObject(System::UnicodeString Name);

Properties

Type Visibility Source Unit Parent
function public
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Datasnap.Win.SConnect TDataBlockInterpreter

Description

Creates a COM object on a remote application server given its class 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.

See Also