Thanks for the detailed explanation.

In this case, I just need to make sure that a specific plugin, that my 
component is using, is available.
I am/can reasonably assume that if I can not find the plugin in the plugin 
folder it is not installed.

But... since you point out the plugin could be installed in other places, I 
will add an additional check to see if Plugin List returns the name of the 
plugin.

Thanks again.
Chip

> PLUGIN LIST returns the list of plugins that are actually loaded (as 
> opposed to simply detected).
> 
> For historic reasons, "4D Quick", "4D Chart", "DDE Tools", etc. are 
> also included in the list,
> although they are actually integrated into 4D (chart was divorced in v13).
> 
> it should also be noted that the "right" location for a plugin can be 
> inside the app (server or desktop),
> or the database folder (server or desktop or client) and its 
> availability is dependent on the architecture and platform.
> to be really pedantic, you also need to check every single DLL path 
> to know if a plugin is really available.
> 
> so sadly it seems like a component is not really welcome in the 
> business of serving plugins to the host.
> 
> 2018/05/05 23:15、Chip Scheide 
> <[email protected]<mailto:[email protected]>> のメール
> :
> I work around the issue by using Structure file with and with out the *
> to get the file paths to the location of the plugin folders, and the 
> using folder list (the plugin is a package on a Mac) to determine if 
> it exists in the right location, and move it from component to host 
> if it is not in the right place.
> 
> However, even when the plugin exists in BOTH the host and component 
> PLUGIN LIST still only returns '4D Quick' (which I assume is the 
> quick report editor), although I can not find the plugin itself 
> anywhere.
> 
> 
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
------------
Hell is other people 
     Jean-Paul Sartre
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to