« FileMaker Conference … | Home | MBS Xojo / Real Studi… »

Loading LibXL and DynaPDF libraries in our Xojo plugins

For the future you can provide a feature in your application to load a dynapdf or libxl library from a folder if needed. I added LoadLibrary methods there, so you can load a given version of those libraries and use those instead of the built in libraries. For example with DynaPDF:
MsgBox "Version before: "+DynaPDFMBS.DynaPDFVersion dim f as FolderItem = SpecialFolder.Desktop.Child("dynapdf.dylib") if DynaPDFMBS.LoadLibrary(f) then MsgBox "Version after: "+DynaPDFMBS.DynaPDFVersion else MsgBox DynaPDFMBS.LoadError end if
The idea is that in case a bug is found in dynapdf or libxl or a newer version released, you can yourself get a copy of the library and load the newer library in the plugin. If you implement the optional dynamic loading of the library from e.g. application folder, you can provide your customers an update to libxl or dynapdf without recompiling the application.

The new LoadLibrary function for DynaPDF will be available in 17.0pr2 plugins. Please do not hesitate to ask if you like to try it sooner. The biggest plugin in space...
08 01 17 - 23:45