
Stefan Seefeld <seefeld@sympatico.ca> writes:
Pavel Vozenilek wrote:
"Vladislav Lazarenko" wrote:
I just want to develop wrapper around LoadLibrary, FreeLibrary, GetProcAddress for Windows and dlopen, dlclose, dlsym for Unix OSs.
Exported symbol enumeration would be handy too.
That's all fine. The trouble really starts when you want to make assertions about the symbols as referring to C++ types / objects. If you don't, I don't really see how this topic relates to boost, or C++ in general.
You can do some nice things with C++ interfaces: entry_point hello(some_lib, "greet"); hello(world); If you're enumerating things, you can present STL iterators. Stuff like that makes it C++-related. -- Dave Abrahams Boost Consulting www.boost-consulting.com