RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.UnRegisterInterface Method

Unregisters an invokable interface.

Pascal
procedure UnRegisterInterface(Info: PTypeInfo);
C++
__fastcall UnRegisterInterface(PTypeInfo Info);

Call UnRegisterInterface to unregister an invokable interface from the invocation registry. In Delphi, this call goes in the finalization section of the unit that defines the invokable interface. In C++, it is called from a method that uses the pragma exit directive. 

Once an invokable interface is unregistered, client applications can no longer call it and server applications can't respond to calls directed at the interface methods. 

Info is a pointer to the runtime type information for the interface. You can obtain the type information from an invokable interface by calling the TypeInfo function in Delphi or __delphirtti in C++. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!