Xojo Conferences
XDCMay2019MiamiUSA

Re-2: [MBS] Library access strangeness (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] WebViewMBS and popup windows
Next thread: [MBS] OverlayWindowMBS change between 10.1 and 11.0?


Re: [MBS] MBS Icon Routines redefined?   -   Garth Hjelte
  Re-2: [MBS] Library access strangeness   -   MGE Info
    [MBS] Library access strangeness   -   Steve Upton
     Re: [MBS] Library access strangeness   -   Christian Schmitz
     Re: [MBS] Library access strangeness   -   Christian Schmitz

Re-2: [MBS] Library access strangeness
Date: 09.04.11 13:51 (Sat, 9 Apr 2011 12:51:09 +0000)
From: MGE Info
Christian,
in this case the small Tool you made to "Obfuscate Plugins",
helps a lot!

Thomas

-------- Original Message --------
Subject: Re: [MBS] Library access strangeness (09-Apr-2011 13:37)
From: Christian Schmitz <<email address removed>>
To: <email address removed>

>
> Am 09.04.2011 um 02:00 schrieb Steve Upton:
>
> >
> > Has anyone seen this problem before? I have a screen shot of the error if
> > anyone needs more information..
>
> There is a common problem with plugin DLLs.
>
> That is if your installer does not delete older DLLs in the same Libs
> folder. I mean you have version 1 of your app with MBSChartDirector3478.dll
> and later you install version 2 with MBSChartDirector7682.dll. Now REAL
> Studio runtime is stupid enough to load the wrong DLL (or simply all DLLs)
> there, so if the function you use is from a newer DLL version, it can
> complain.
>
> Greetings
> Christian
>
> --
> See you in Essen, Germany at the REAL Studio Conference 2011
>
> Registration and details here:
> http://www.realsoftware.de/events/realcon2011essen/
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.
> info
>

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

[MBS] Library access strangeness
Date: 09.04.11 01:00 (Fri, 8 Apr 2011 17:00:54 -0700)
From: Steve Upton

I'm hoping someone has seen this issue before. A few facts:

- windows XP machine, our application built using RB 2008.5.1 with MBS 9.8
- this app, this build, this installer is used by many other users on Windows XP without this issue
- when the user launches the app he gets an error message from Windows that it can't find the "plugin method CDMLTableMBS..." etc. Looking this up I find it's something in ChartDirector which we have licensed and use in this app.

So it looks like a bad install, we recommend to the user that he uninstall the app, download a fresh copy, and reinstall. He reports back that this worked and he can launch the app OK....

Then, he "installs" a piece of USB hardware (he says he simply plugged it in, didn't install an app, I suspect a hardware install occurred w/ drivers but I don't know).

Now, as you might expect, the app won't launch again and it fails with the same error. There's nothing odd about the design of this app, as far as I know. All the plugin bits are in the app's Libs folder and the installer copies them over OK. There are no libraries or DLLs or anything installed elsewhere in his system.

Has anyone seen this problem before? I have a screen shot of the error if anyone needs more information..

Regards,

Steve

Re: [MBS] Library access strangeness
Date: 09.04.11 12:39 (Sat, 9 Apr 2011 13:39:10 +0200)
From: Christian Schmitz

Am 09.04.2011 um 02:00 schrieb Steve Upton:

>
> I'm hoping someone has seen this issue before. A few facts:

see here:

Internal REAL Studio Plugin DLLs should have build number inside
<feedback://showreport?report_id178>

Greetings
Christian

Re: [MBS] Library access strangeness
Date: 09.04.11 12:37 (Sat, 9 Apr 2011 13:37:30 +0200)
From: Christian Schmitz

Am 09.04.2011 um 02:00 schrieb Steve Upton:

>
> Has anyone seen this problem before? I have a screen shot of the error if anyone needs more information..

There is a common problem with plugin DLLs.

That is if your installer does not delete older DLLs in the same Libs folder. I mean you have version 1 of your app with MBSChartDirector3478.dll and later you install version 2 with MBSChartDirector7682.dll. Now REAL Studio runtime is stupid enough to load the wrong DLL (or simply all DLLs) there, so if the function you use is from a newer DLL version, it can complain.

Greetings
Christian