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 |
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.
- 4 properties
- property Handle as Integer
- property Name as String
- property Path as String
- property SymbolCount as Integer
- 6 methods
- method Constructor(LibFile as folderItem)
- method Constructor(LibPath as string)
- method Symbol(name as string) as ptr
- method SymbolName(index as Integer) as string
- method SymbolName(p as Ptr) as string
- method SymbolNames as string()
This class has no sub classes.
Some examples using this class:
Blog Entries
- MBS Xojo Plugins, version 24.0pr8
- News from the MBS Xojo Plugins Version 20.3
- MonkeyBread Software Releases the MBS Xojo Plugins in version 20.3
- Dynamic Declare for Xojo
- MBS Xojo Plugins, version 20.3pr1
Release notes
- Version 24.0
- Improved error message for DeclareLibraryMBS constructor.
- Version 20.3
- Added DeclareCallBackMBS, DeclareLibraryMBS and DeclareFunctionMBS classes.
The items on this page are in the following plugins: MBS Util Plugin.
DeclareFunctionMBS - DelegateCrashExceptionMBS