Datasnap.Win.SConnect.TDataBlockInterpreter.CallCreateObject

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Unit: Datasnap.Win.SConnect
Parent: TDataBlockInterpreter

Delphi

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

C++

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

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