RAD Studio VCL Reference
|
Registers a SOAP data module for use by clients built using Kylix 2 or Delphi 5 prior to update patch 2.
procedure RegDefIAppServerInvClass;
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.
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!
|