Xojo 2019 r1.1 and MBS Plugins

Since yesterday I have been unable to run any applications which use MBS plugins. They seem to be loading but when I try and run an application using LogoMBS as an example - I get an error saying that a picture was expected but got Int32.

Have started from scratch on a new Win 11 PC - clean install - but still getting the same issue. Any ideas welcome.

Anything changed on your system?
What version of MBS are you using?

If you are updating MBS, don’t. Using an old Xojo you must stick with a compatible old MBS.

You will get troubles the other way too at any time. The OS may deprecate something and later your app will only run in older systems. (more rare case).

No changes have been made to the Xojo or MBS versions.

Windows 10 installed 3 updates yesterday - but the new Windows 11 PC is showing the same behaviour.

This sounds like the plugins haven’t loaded. When you go to About > Loaded Plugins, do you see the MBS Plugins there?

image

The plugins are loading - Xojo 2024 R3 runs as expected.

And in the 2019r1.1?

Our plugins work fine in older Xojo versions, down to 2006r4.

But MacOS must be version 10.13 or newer.
And on windows some plugins need Windows 8 or VS 2019 runtimes.

See
https://www.mbsplugins.de/archive/2024-09-16/Plugin_backwards_compatibility/monkeybreadsoftware_blog_xojo

Maybe Paul likes to try only main plugin and only add the ones he needs

1 Like

2019 r1.1 fails - plugins load, place the cursor over the function and it correctly reports the calling parameters and return value e.g. registerMBSPlugin will show the vars it needs but when you try and run the application it says it can’t be found.

Check the Windows Event Viewer, look for some error logged during the Xojo loading and after in a test run using the registerMBS

image

With the Main Plugin only it runs. Can I assume that I need to add the many plugins we use ā€˜one by one’ and retest

1 Like

You may need Tim’s app

https://strawberrysw.com/plugins-pro/

1 Like

Unfortunately Plugins Pro can’t tell you what plugin parts are in which MBS xojo plugin.

My recommended process for that is to:

  • Cmd-K Analyze
  • Follow each unique ā€œthis is missingā€ error
  • Search the class on Google to find out which .xojo_plugin it’s in
  • Make sure that’s installed

When I think I’ve got them all, I quit and relaunch to load the plugins, and repeat the process from Cmd-K Analyze.

1 Like

Thanks Tim,

The projects I am trying to build were all building fine with no additional requirements on Monday. So far I have been able to copy back and license the main, sql, dynapdf and chart director plugins and build without error.

The 64-bit version of some MBS Xojo Plugins for Windows needs the Visual Studio Runtime Libraries from 2019.

You can download them here: The latest supported Visual C++ downloads or direct download.

Also when installing plugins, please check dependencies.
e.g. if you add MacCocoa, you need also to add MacBase and Main parts.

Thank you for all the suggestions.

I have managed to recover the urgent project by only adding back the plugins required. The plan now is to create a simple app which will make a single call to all the plugins we use to test for errors after windows updates.

This is where my app Plugins Pro could come in handy (but only for one Xojo installation at a time). It manages local copies of plugins, so that you can ā€œactivateā€ and ā€œdeactivateā€ them from Xojo.

By making and organizing sets in Plugins Pro, you could use the tool to quickly restore all the plugins you need.