on 2/21/05 12:46 PM, William Yu at william at realsoftware dot com wrote:
> Correct, your approach sounds like it should work, thanks for sharing that
> with us.
Yes, it would help though if a REALGetPluginFolder api would exist.
Currently you can get there with REALGetProjectFolder when REALbasic IDE is
loading the plugins and is calling the constructor of a control the very
first time. REALGetProjectFolder will point to the RB executable and on OSX
it requires you to do f.parent.parent.parent.child("Plugins folder").
If your plugin registers a class it is not so easy to get to the plugins
folder, unless of course you would inquire for a PID.
I thought I had requested REALGetPluginFolder a long time ago, but it does
not seem to be present in the bug base. Christian, if you really need
something like REALGetPluginFolder then feel free to file it. The workaround
is described above.
I am posting this knowledge to make 100% sure that RB6 will provide the same
functionality as RB5, if not more..
Alfred
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|