Q:

program functions in dynamic loadable modules

Hello I am writing a program and dynamic loadable modules. Those modules are loaded using 'dlopen'. How do I use a program function in the module? Are function pointers the right way? Thank you

A:

Program needs to be linked with -rdynamic option.

