DynamicLibrary official?


#1

Is DynamicLibrary now officially supported? I can’t seem to find the Macintosh implementation.

Also, I see that DynamicLibrary::open() takes a String. Any reason it doesn’t take a File parameter? Or have another open() that does? Just wondering.


#2

Yes, it’s official. On OSX it just uses the posix implementation.

And it’s not a File because you’d normally just give it a library name with no path, and let the OS search for it.


#3

Question, in Windows I can point it to a filename, but on OSX, is that possible? Or on OSX the files must be inside Library folder instead? This would complicate things for me and what I´m trying to do. ;-)

 

Thanks.


#4

On OSX the string is just passed to dlopen, so that's what you need to research if you need more details.