Invoking a method in some module class from within a plugin

Hi
Suppose I need to call some method in one of the modules of my project from a plugin.

How do I do that? I can aquire the modelue by name but don't know what then

1 comment

If you mean that you need to invoke a method on a class which is part of your module's source code, it's not a trivial thing to do. You need to compile the module, locate the class in the output directory, load it from there and then call the method via reflection.

0

Please sign in to leave a comment.