176
FARR Plugins and Aliases / Re: FScript2, a new way to build javascript plugins for FARR
« Last post by ecaradec on January 08, 2011, 11:54 AM »Yes creating DLL by hand is possible and will work. Actually you only need write access when you add a plugin, remove a plugin or if fscript2 changed and it need to write a new version of the proxy. If you're not adding, removing or updating plugin you should be fine.
However I'd rather keep the proxy with the master DLL otherwise we could end up with various versions. There is very few code in them, but not none at all and it would be problematic if you needed to add new FARR API as I'd need to implement them in order to forward them and then all proxy would need to be modified. It is also important that they are located in a subfolder of fscript2 as they must be loaded AFTER fscript2 to be able to initialize correctly.
One way to solve it would be that FARR support some kind of proxy for DLL like a file that would point to the DLL to load instead or even better an API for FScript2 to allow it to load plugins. The alias wouldn't solve the write issue, but the API would. I wanted a version that works for every versions of FARR first so I went this path first.
We could wait a little to see if I can fix them that way and see the issues before moving to something else.
I'm already half crazy anyway
However I'd rather keep the proxy with the master DLL otherwise we could end up with various versions. There is very few code in them, but not none at all and it would be problematic if you needed to add new FARR API as I'd need to implement them in order to forward them and then all proxy would need to be modified. It is also important that they are located in a subfolder of fscript2 as they must be loaded AFTER fscript2 to be able to initialize correctly.
One way to solve it would be that FARR support some kind of proxy for DLL like a file that would point to the DLL to load instead or even better an API for FScript2 to allow it to load plugins. The alias wouldn't solve the write issue, but the API would. I wanted a version that works for every versions of FARR first so I went this path first.
We could wait a little to see if I can fix them that way and see the issues before moving to something else.
I'm already half crazy anyway


Recent Posts