ro
- plugin
DemoThis demo simultaneously loads multiple dynamic modules that publicly declare symbols with the same name, and then calls them.
None.
None.
This demo does not display anything on the screen. The only output is debugger output.
The Module1
and Module2
dynamic modules in this demo both publicly declare a function called TestFunc
. A static module loads the two dynamic modules and then calls TestFunc
normally, but in this case, only one of the two function definitions is used in the calls. The demo then uses the nn::ro::Module::GetPointer
function to get the explicit address to the functions from the modules, and then calls the functions via function pointers. Getting the explicit addresses from the modules allows you to call two different functions that have the same name.
CONFIDENTIAL