RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPacketInterceptFactory.UpdateRegistry Method

Registers or unregisters COM objects created by the factory.

Pascal
procedure UpdateRegistry(Register: Boolean); override;
C++
virtual __fastcall UpdateRegistry(Boolean Register);

UpdateRegistry is called for EXEs when the EXE is run, and for DLLs or EXEs when the routines are called to specifically register or unregister the server. 

In addition to the standard COM registration that allows clients to instantiate the data packet interceptor that this factory creates, TPacketInterceptFactory also registers its associated COM object as a data packet interceptor. This allows the object's ProgID to appear in the drop-down list for a socket connection's InterceptName property, and to appear in the corresponding list on the properties dialog for scktsrvr.exe. 

 

DLLRegisterServer 

DLLUnregisterServer 

RegisterClassObject 

InterceptName

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