Platforms to show: All Mac Windows Linux Cross-Platform

DeclareLibraryMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class DynamicDeclares MBS Util Plugin 20.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The class for a C library loaded into Xojo.
// change path if you like to try this on Windows or Linux
Dim d As New DeclareLibraryMBS("/usr/lib/libz.1.dylib")

Dim lines() As String = d.SymbolNames
Break // look in list of functions
Notes: Allows you to load a DLL on Windows, dylib on MacOS and shared object (so) on Linux and inspect the available functions and load functions by name.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples using this class:

Blog Entries

The items on this page are in the following plugins: MBS Util Plugin.

DeclareFunctionMBS   -   DesktopApplication

The biggest plugin in space...

MBS FileMaker Plugins

Start Chat