DynamicLibrary official?

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.

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.

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.

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