Runtine Library Loading?

Andrew Wiley arew264 at gmail.com
Sat May 17 11:27:35 PDT 2008


One thing that would be very handy for a project I'm about to undertake would be runtine libray loading. In C, I could use dlopen() and its related functions to load a DLL and call functions in it. In C++, it was... sketchy and I never really used it in much detail. Can D do this?
This would be a linux only project, and from what I've read, this sort of thing tends to work more on linux. I could stick to C functions if necessary, but that would give little benefit from just using straight C.
The structure of the project would just be an executable that would load up libraries and call functions in them. All classes used in arguments between libraries would be defined in the executable. The libraries would follow a standardized interface.



More information about the Digitalmars-d mailing list