When implementing a Microservice that itself access a Microservice internally in it's constructor windows will fail loading the dll/module.
E.g. a Microservice implementation uses the PythonService in it's implementation. If the service accesses the other service in it's constructor the dll will fail to load if 2 different services from different modules are accessed at the same time in the activator.
Code Example:
The Constructor of a service executes:
us::ModuleContext* context = us::GetModuleContext(); m_PythonServiceRef = context->GetServiceReference<mitk::IPythonService>(); m_PythonService = dynamic_cast<mitk::PythonService*> ( context->GetService<mitk::IPythonService>(m_PythonServiceRef) );