methodTsnicClassClient.MakeInstance
function MakeInstance(const aQualifiedClassName: string; const aIID : PTypeInfo; out aObj; const aRole : string) : Boolean;
Creates a fresh REMOTE object of aQualifiedClassName on the server and hands back a client-side proxy (a TVirtualInterface) typed as aIID; every method the app calls on aObj is marshalled to the server, executed there, and the (out/var/result) values marshalled back. aRole selects which server-side role instantiates the class (empty for the default). Use this to obtain a private per-call/per-session instance; use SubscribeMediator instead to attach to an existing shared instance. Object-typed method arguments must be TStream (streamed on demand), and interface-typed arguments become callbacks the server can invoke back into (see HandleRequest).