Skip to contentSkip to conversation

dynamic loading of objects/modules in C/C++

DISCUSSION ronkhu 2 participants 2 messages Jun 17, 2003

lore
Share & tools
lore

ronkhu

author
#0 lore raw

Hello,

Is there a "java-like-reflection API" for C++ and C that would enable a program( already in execution) to dynamically load a particular module(files with .o extension) or class? (how about dynamic loading of functions?)

#1 lore raw
Quoted 4 lines · ronkhu

Is there a "java-like-reflection API" for C++ and C that would enable a program( already in execution) to dynamically load a particular module(files with .o extension) or class? (how about dynamic loading of functions?)

Is dlopen()/dlsym() sufficient? Or did you want something else?

Signature · 1 line
Glynn Clements <[email protected]>