Discussion:
Incompatibility between Xojo2016r4.1 and MBS 16.5?
Jean-Luc Arnaud
2017-01-16 12:00:30 UTC
Permalink
Hi all,

Using Mac & MacOS 10.11.6, Xojo 2016r4.1 and MBS 16.5, I get a strange
behaviour:
- Compiling a Windows App, 32 bits (should be interesting to try 64
bits, but I have no Windows 64, so I can't test ) and launching the
App, all works well,
- Now, renaming the executable file (adding a simple space or what ever
you want) and launching it again, I get an error:

Runtime Error
Press OK to continue
Press Cancel to Quit

Please report ...

Commen\Plugin.cpp: 957
Failure Condition: pluginEntryTable.GetEntry( entrypointname, out )
Can't find plugin method BevelButton.DeleteAllRows

No issue with a Mac app, neither 32 or 64bits.
No issue with a basic app (a simple button with MsgBox("Hello") code in
Action event).

Any idea?

TIA for your help
--
Jean-Luc Arnaud


_______________________________________________

Xojo forum:

https://forum.xojo.com/
Christian Schmitz
2017-01-16 12:35:24 UTC
Permalink
Post by Jean-Luc Arnaud
Hi all,
No need to ask on two lists.
Please make sure you copy all the DLLs in libs folder with the app.


Sincerely
Christian
--
Read our blog about news on our plugins:

http://www.mbsplugins.de/


_______________________________________________

Xojo forum:

https://forum.xojo.com/
Jean-Luc Arnaud
2017-01-16 14:26:44 UTC
Permalink
Post by Christian Schmitz
No need to ask on two lists.
I'm not sure it's a MBS issue. I'm not even sure it's related to MBS
plugins. So, I thought it was a good idea to ask to as much as possible
people.
Sorry for the inconvenient, if any.
I tried another project, more complex that the simple button with MsgBox
function, and with no MBS plugins calls (unless I'm wrong, all MBS
commands and functions have the string "MBS" in their name, haven't they
?) and I got the same error. It seems like MBS calls are not mandatory
for issuing the error.
Post by Christian Schmitz
Please make sure you copy all the DLLs in libs folder with the app.
Yes, I'm sure of that.


Jean-Luc Arnaud
Post by Christian Schmitz
Post by Jean-Luc Arnaud
Hi all,
No need to ask on two lists.
Please make sure you copy all the DLLs in libs folder with the app.
Sincerely
Christian
_______________________________________________

Xojo forum:

https://forum.xojo.com/
vaughnsc .
2017-01-16 14:31:50 UTC
Permalink
Could it be that the Newname.exe or some DLL is hardwired to (not) look for
the 'Oldname Libs' folder? Usually these match.

Vaughn
Post by Christian Schmitz
No need to ask on two lists.
I'm not sure it's a MBS issue. I'm not even sure it's related to MBS
plugins. So, I thought it was a good idea to ask to as much as possible
people.
Sorry for the inconvenient, if any.
I tried another project, more complex that the simple button with MsgBox
function, and with no MBS plugins calls (unless I'm wrong, all MBS commands
and functions have the string "MBS" in their name, haven't they ?) and I
got the same error. It seems like MBS calls are not mandatory for issuing
the error.
Please make sure you copy all the DLLs in libs folder with the app.
Yes, I'm sure of that.
Jean-Luc Arnaud
Post by Christian Schmitz
Post by Jean-Luc Arnaud
Hi all,
No need to ask on two lists.
Please make sure you copy all the DLLs in libs folder with the app.
Sincerely
Christian
_______________________________________________
https://forum.xojo.com/
_______________________________________________

X
Jean-Luc Arnaud
2017-01-16 14:57:00 UTC
Permalink
This post might be inappropriate. Click to display it.
vaughnsc .
2017-01-16 15:00:22 UTC
Permalink
Yes, its my guess that you're stuck trying to reconcile two different
naming assumptions. Cater to one, break the other.

Which brings us to 'Why not set the desire exe name in the IDE?'
Post by Jean-Luc Arnaud
Probably something close to that.
I tried to rename the "xxx Libs" with the same name as the executable
file, unsuccessfully ("Can't find Framework dll error").
Jean-Luc Arnaud
Post by vaughnsc .
Could it be that the Newname.exe or some DLL is hardwired to (not) look for
the 'Oldname Libs' folder? Usually these match.
Vaughn
No need to ask on two lists.
Post by Jean-Luc Arnaud
I'm not sure it's a MBS issue. I'm not even sure it's related to MBS
plugins. So, I thought it was a good idea to ask to as much as possible
people.
Sorry for the inconvenient, if any.
I tried another project, more complex that the simple button with MsgBox
function, and with no MBS plugins calls (unless I'm wrong, all MBS commands
and functions have the string "MBS" in their name, haven't they ?) and I
got the same error. It seems like MBS calls are not mandatory for issuing
the error.
Please make sure you copy all the DLLs in libs folder with the app.
Yes, I'm sure of that.
Jean-Luc Arnaud
Post by Christian Schmitz
Post by Jean-Luc Arnaud
Hi all,
No need to ask on two lists.
Please make sure you copy all the DLLs in libs folder with the app.
Sincerely
Christian
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
________________________________
Jean-Luc Arnaud
2017-01-16 15:41:29 UTC
Permalink
The answer is the same to Vaughn and Christian:


Thanks for replying.

I have, usually, no need to rename the exe file. Nevertheless, I never
got this error with previous versions of Xojo, doing that.
I discovered this issue totally by chance.
The problem is that it will happen if the user has the idea, the need or
the desire to rename the executable file, and I will most likely have a
lot of claims!

So I think Xojo should correct this bug, now that we know what it's
related to.

Thank you for your help

Jean-Luc Arnaud
Post by vaughnsc .
Yes, its my guess that you're stuck trying to reconcile two different
naming assumptions. Cater to one, break the other.
Which brings us to 'Why not set the desire exe name in the IDE?'
Post by Jean-Luc Arnaud
Probably something close to that.
I tried to rename the "xxx Libs" with the same name as the executable
file, unsuccessfully ("Can't find Framework dll error").
Jean-Luc Arnaud
Post by vaughnsc .
Could it be that the Newname.exe or some DLL is hardwired to (not) look for
the 'Oldname Libs' folder? Usually these match.
Vaughn
No need to ask on two lists.
Post by Jean-Luc Arnaud
I'm not sure it's a MBS issue. I'm not even sure it's related to MBS
plugins. So, I thought it was a good idea to ask to as much as possible
people.
Sorry for the inconvenient, if any.
I tried another project, more complex that the simple button with MsgBox
function, and with no MBS plugins calls (unless I'm wrong, all MBS commands
and functions have the string "MBS" in their name, haven't they ?) and I
got the same error. It seems like MBS calls are not mandatory for issuing
the error.
Please make sure you copy all the DLLs in libs folder with the app.
Yes, I'm sure of that.
Jean-Luc Arnaud
Post by Christian Schmitz
Post by Jean-Luc Arnaud
Hi all,
No need to ask on two lists.
Please make sure you copy all the DLLs in libs folder with the app.
Sincerely
Christian
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________

Xojo forum:

https://forum.xojo.com/
Jon Ogden
2017-01-16 15:43:24 UTC
Permalink
The user shouldn’t be renaming an executable. If you know Windows, there’s TONS of things tied into the executable’s name (registry entries, shortcuts, etc). It’s a bad idea to do that and if they break it it’s not your fault.

This isn’t a bug.

Jon
Post by Jean-Luc Arnaud
Thanks for replying.
I have, usually, no need to rename the exe file. Nevertheless, I never got this error with previous versions of Xojo, doing that.
I discovered this issue totally by chance.
The problem is that it will happen if the user has the idea, the need or the desire to rename the executable file, and I will most likely have a lot of claims!
So I think Xojo should correct this bug, now that we know what it's related to.
Thank you for your help
Jean-Luc Arnaud
Post by vaughnsc .
Yes, its my guess that you're stuck trying to reconcile two different
naming assumptions. Cater to one, break the other.
Which brings us to 'Why not set the desire exe name in the IDE?'
Post by Jean-Luc Arnaud
Probably something close to that.
I tried to rename the "xxx Libs" with the same name as the executable
file, unsuccessfully ("Can't find Framework dll error").
Jean-Luc Arnaud
Post by vaughnsc .
Could it be that the Newname.exe or some DLL is hardwired to (not) look for
the 'Oldname Libs' folder? Usually these match.
Vaughn
No need to ask on two lists.
Post by Jean-Luc Arnaud
I'm not sure it's a MBS issue. I'm not even sure it's related to MBS
plugins. So, I thought it was a good idea to ask to as much as possible
people.
Sorry for the inconvenient, if any.
I tried another project, more complex that the simple button with MsgBox
function, and with no MBS plugins calls (unless I'm wrong, all MBS commands
and functions have the string "MBS" in their name, haven't they ?) and I
got the same error. It seems like MBS calls are not mandatory for issuing
the error.
Please make sure you copy all the DLLs in libs folder with the app.
Yes, I'm sure of that.
Jean-Luc Arnaud
Post by Christian Schmitz
Post by Jean-Luc Arnaud
Hi all,
Using Mac & MacOS 10.11.6, Xojo 2016r4.1 and MBS 16.5, I get a strange
No need to ask on two lists.
Please make sure you copy all the DLLs in libs folder with the app.
Sincerely
Christian
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________

Xojo forum:

https://forum.xojo.com/
Christian Schmitz
2017-01-16 15:49:31 UTC
Permalink
Hi,

if it's happening on users computer, it could be anything.

For example an Anti Virus app things that Bevelbutton DLL is suspicious and blocks loading it!

Sincerely
Christian
--
Read our blog about news on our plugins:

http://www.mbsplugins.de/


_______________________________________________

Xojo forum:

https://forum.xojo.com/
Jean-Luc Arnaud
2017-01-16 16:00:48 UTC
Permalink
I don't think so.

On my own PC, with or without activated anti-virus software, I get the
same behaviour.

With the original name (that is, the name used during compilation time),
the App launches.
As soon as I modify the executable file name, and given that Appearance
Lib is used, the error message displays.

Jean-Luc Arnaud
Post by Christian Schmitz
Hi,
if it's happening on users computer, it could be anything.
For example an Anti Virus app things that Bevelbutton DLL is suspicious and blocks loading it!
Sincerely
Christian
_______________________________________________

Xojo forum:

https://forum.xojo.com/

Jean-Luc Arnaud
2017-01-16 15:52:47 UTC
Permalink
Thanks, Jon, for this argumentation for answering the complaints! (I
don't make fun).

Is there a way to prevent the user to rename executable file, in
addition to mentioning it in Bold and underlined text in the documentation?

Jean-Luc Arnaud
Post by Jon Ogden
The user shouldn’t be renaming an executable. If you know Windows, there’s TONS of things tied into the executable’s name (registry entries, shortcuts, etc). It’s a bad idea to do that and if they break it it’s not your fault.
This isn’t a bug.
Jon
Post by Jean-Luc Arnaud
Thanks for replying.
I have, usually, no need to rename the exe file. Nevertheless, I never got this error with previous versions of Xojo, doing that.
I discovered this issue totally by chance.
The problem is that it will happen if the user has the idea, the need or the desire to rename the executable file, and I will most likely have a lot of claims!
So I think Xojo should correct this bug, now that we know what it's related to.
Thank you for your help
Jean-Luc Arnaud
Post by vaughnsc .
Yes, its my guess that you're stuck trying to reconcile two different
naming assumptions. Cater to one, break the other.
Which brings us to 'Why not set the desire exe name in the IDE?'
Post by Jean-Luc Arnaud
Probably something close to that.
I tried to rename the "xxx Libs" with the same name as the executable
file, unsuccessfully ("Can't find Framework dll error").
Jean-Luc Arnaud
Post by vaughnsc .
Could it be that the Newname.exe or some DLL is hardwired to (not) look for
the 'Oldname Libs' folder? Usually these match.
Vaughn
No need to ask on two lists.
Post by Jean-Luc Arnaud
I'm not sure it's a MBS issue. I'm not even sure it's related to MBS
plugins. So, I thought it was a good idea to ask to as much as possible
people.
Sorry for the inconvenient, if any.
I tried another project, more complex that the simple button with MsgBox
function, and with no MBS plugins calls (unless I'm wrong, all MBS commands
and functions have the string "MBS" in their name, haven't they ?) and I
got the same error. It seems like MBS calls are not mandatory for issuing
the error.
Please make sure you copy all the DLLs in libs folder with the app.
Yes, I'm sure of that.
Jean-Luc Arnaud
Post by Christian Schmitz
Post by Jean-Luc Arnaud
Hi all,
Using Mac & MacOS 10.11.6, Xojo 2016r4.1 and MBS 16.5, I get a strange
No need to ask on two lists.
Please make sure you copy all the DLLs in libs folder with the app.
Sincerely
Christian
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________
https://forum.xojo.com/
_______________________________________________

Xojo forum:

https://forum.xojo.com/
Jean-Luc Arnaud
2017-01-16 14:51:33 UTC
Permalink
_PLEASE, REPLY ONLY ON THE NUG LIST. THANKS_

Thanks for replying, Christian.

It seems like this issue is not MBS related.
As I wrote it in a previous message to the NUG list, a very simple
compilation does not issue the error, where a more complex one issues it.
I think it's better to limit this thread to the NUG list.
Maybe you copied libs folder without the required Libs folder?
No, I'm sure of that.
In addition, clicking "Continue" instead of "Quit" in the error message
window leads to displaying all properties, functions and methods related
to BevelButton, then the ones related to Placard object are displayed
(always with the same message Can't find plugin entry). I guess one
could list a lot of objects doing that...

Maybe one or more of Xojo Libs try to find the executable file and does
not consider its new name when this executable is renamed.

Keep in mind that the app works fine unless its name is modified.

The only differences between my test app (working even when the name is
modified) and the more complex project (working with its initial name
but issuing the error when renamed) are these two libs:

Appearance Pak.dll
RegEx.dll

I'm quiet sure one of these libs (or both) is responsible the error.

Thanks

Jean-Luc Arnaud
Post by Jean-Luc Arnaud
Hi all,
Commen\Plugin.cpp: 957
Failure Condition: pluginEntryTable.GetEntry( entrypointname, out )
Can't find plugin method BevelButton.DeleteAllRows
Bevelbutton is part of an internal Xojo plugin.
Maybe you copied libs folder without the required Libs folder?
Sincerely
Christian
_______________________________________________

Xojo forum:

https://forum.xojo.com/
Christian Schmitz
2017-01-16 15:09:09 UTC
Permalink
Post by Jean-Luc Arnaud
The only differences between my test app (working even when the name is
modified)
Why would you modify it?

Xojo doesn't find the libs folder and doesn't load the Appearance Pak.dll, so the Bevelbutton is missing.


Sincerely
Christian
--
Read our blog about news on our plugins:

http://www.mbsplugins.de/


_______________________________________________

Xojo forum:

https://forum.xojo.com/
Loading...