Getting TSphinxContext from within a service

I might have asked this before, but can't find it.

If I want to create a TSphinxContext in a Service, can I do that without referring to the TSphinxServer instance on my servermodule (TDataModule)?

Thanks

Why would you do that? You could do something like this:

But still, you need to provide the core options object which should come from a TSphinxConfig component.

Thanks

I use it for user management.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.