THYLocalService

Hi,

in wiki documentation I read this:

“THYLocalService requires the interface declaration of the service to be present in the same module as the component. You usually would not include Intf units of server plugins into the main server executable because you simply don’t have this information available yet. The plugins are usually developed after the main server is complete and you do not want to have static references to plugin types inside a module host.”

How then can invoke a service exposed by a plugin without having to include the xx_INTF unit in the main server?

Best Regards

Claudio

Thank you for pointing this out, the description is clearly wrong. Logged as #53147.

For THYLocalService you need to include *_Intf.pas into a server module to be able to call service methods.