RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SOAPMidas.RegDefIAppServerInvClass Function

Registers a SOAP data module for use by clients built using Kylix 2 or Delphi 5 prior to update patch 2.

Pascal
procedure RegDefIAppServerInvClass;
C++
RegDefIAppServerInvClass();

RegDefIAppServerInvClass registers TSoapDataModule as an invokable class that implements IAppServer as a Web Service. C++ applications must add a call to this procedure after the registration of IAppServerSOAP in the program startup code if they are to be used by clients written using Kylix 2 or Delphi 5 prior to update patch 2. This call is not necessary for other clients of a Web Service-based application server, because they look for the IAppServerSOAP interface.

Note: Delphi applications do not need to call this procedure.
The following example shows where to place the call to RegDefIAppServerInvClass:

void static RegTypes()
{
  InvRegistry()->RegisterInterface(__interfaceTypeinfo(IMyAppServerService));
  InvRegistry()->RegisterInvokableClass(__classid(TMyAppServerService), MyAppServerServiceFactory);
  RegDefIAppServerInvClass();
}
#pragma statrtup RegTypes 32

 

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