Hello,

Background:

- I have a plugin that I'm maintaining that calls mitk_create_plugin, but
it doesn't seem like its views are getting registered. We're getting errors
of the form "Could not create view: <viewName>", "Caused by: Part
initialization error: Could not create view: <viewName>" even though the
dll containing the view seems to be in the right directory.

- Based on that, I have to conclude that the code for the C++ microservices
(documented here:
http://docs.mitk.org/nightly/MicroServices_TheModuleContext.html ) is not
getting added to our code. I tried grepping the build directory for
functions related to registering modules, but nothing came back.
ModuleRegistry showed only GetModule().

- Looking at MITK-ProjectTemplate (v2016.11), it looks like the sample
plugins don't need to call anything other than mitk_create_plugin. So based
on that, I'd guess that the microservices pre-processing should happen
automatically for plugins, but I wanted to make sure.

Questions:
- Does mitk_create_plugin automatically preprocess the files to add the
Register / etc. functions?
- If it should, any advice on what else can cause views of plugins to not
be found would be appreciated

Are there any more details on how the micro services system works?
- Is there one registry for the entire system (like e.g., COM/DCOM) or one
per application?
- Where is this microservices registry stored? Or is it not stored anywhere
and instead it's re-populated every time the application starts?

Thanks,

- Alex
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to