topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday November 29, 2025, 11:29 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 6 7 8 9 10 [11] 12 13 14 15 16 17next
251
FARR Plugins and Aliases / Re: FScript 1.19 Issues
« Last post by ecaradec on September 21, 2009, 01:53 AM »
It's really F...Script. Guess what fits in ?
252
FARR Plugins and Aliases / Re: FARR Plugin: TimeZone [Update version 1.2.0]
« Last post by ecaradec on September 21, 2009, 01:52 AM »
If the plugin don't care about the result the correct return is nothing or false. If the plugin return an integer, fscript would set the closeafterp parameter and tell FARR to not close.
253
FARR Plugins and Aliases / Re: FScript 1.19 Issues
« Last post by ecaradec on September 20, 2009, 02:50 AM »
no, onProcessTrigger works, the issue is the number of parameters. Fscript pass all parameters to the scripting host. That's not a problem with javascript that is very forgivable about the number of parameters given. VBScript, ruby, etc... expect the exact correct number of parameters.
With recent FARR defining function onProcessTrigger(path, caption, groupname, pluginid,thispluginid,score,entrytype,voidp) will work all the time. Depending of the features of the language we could get full compatibility by defining a function that allow for extra parameters, or overload the function with one of the same name with a different set of parameters.
254
FARR Plugins and Aliases / Re: FScript 1.19 Issues
« Last post by ecaradec on September 19, 2009, 04:03 AM »
Hello Perry,

I found the source of your problem, the issue is that the vbscript needs to declare every parameter used. You have to use the full function declaration even if you don't use every parameter. I probably added a parameter in the last version of fscript causing the vbscript call to fail now.  The full signature is :

function onProcessTrigger(path, caption, groupname, pluginid,thispluginid,score,entrytype,voidp)

The issue was very easy as the script engine returned an error code with exactly the correct issue. I really need to add some error messages   :P
255
FARR Plugins and Aliases / Re: idea: FARR plugin school / tutorial / wiki
« Last post by ecaradec on August 30, 2009, 04:23 AM »
Actually I'll be happy with any name... It is possible to create it ?
256
FARR Plugins and Aliases / Re: plugin/JS communication????
« Last post by ecaradec on July 14, 2009, 04:42 PM »
Isn't the result received through getStrValue("EmbeddedWb.ExecJavascript")  ? I thought that this buffer was the problem, was it ?
257
FARR Plugins and Aliases / Re: plugin/JS communication????
« Last post by ecaradec on July 14, 2009, 05:54 AM »
I'm not sure this will fix the issue, but I increased the getStrValue buffer from 4ko to 1Mo. Let me know. There must be a limit since there is no way I can't get the memory I'm going to need.
Mouser, could it be possible to add something to read the length of the data ? Or I could add a parameter to let the plugin tell how much memory it want to allocate. I figure this out as I'm writing, that might be a good solution.
258
FARR Plugins and Aliases / Re: idea: FARR plugin school / tutorial / wiki
« Last post by ecaradec on July 08, 2009, 02:25 AM »
Could it be possible to get a farrplugindev.dcmembers or farrplugin.dcmembers space to put a wiki on it as a place for plugins dev to group information about tools, language and farr api ?
259
Developer's Corner / Re: Multithreading tutorials
« Last post by ecaradec on June 23, 2009, 09:53 AM »
A simple way to use threads is to share no data at all. Clone or allocate data then send them to another thread via PostThreadMessage or PostMessage and forget about them. In the other thread, when the loading, computing, ... is complete, post a message to the main thread with the result. It's very easy.
260
FARR Plugins and Aliases / Re: idea: FARR plugin school / tutorial / wiki
« Last post by ecaradec on June 06, 2009, 04:08 AM »
I would be great to have a school that would really help to create more plugins IHMO. May be it does not have to be limited to FScript and FSubScript and it could support the developpement of C plugins too.
I'll second the idea of a wiki. This would make it easier to update a collaborative documentation.

There is also a FScript documentation available at : http://e.craft.free....rr/FScript/help.html
Is also updated the FScript thread to explain clearly what FScript is and to point users to CZB fsubscript version if they want to build javascript plugins.
261
Find And Run Robot / Re: Klip Keeper Access Violation
« Last post by ecaradec on June 05, 2009, 03:20 AM »
I uploaded a new FScript.dll that should solve the issue. You can get it from http://e.craft.free.fr/farr/FScript/ . Get fscript.1.17.dll and replace fscript.dll in the fsubscript plugin.
262
Find And Run Robot / Re: Runtime Error!
« Last post by ecaradec on May 31, 2009, 06:49 AM »
Sure that very simple. If I return false from MyPlugin_DoInit does that disable my plugin ? It would be easy that way.
263
FARR Plugins and Aliases / Re: Fscript error
« Last post by ecaradec on May 28, 2009, 02:12 AM »
It's a cool thing to hear again  :Thmbsup:
264
FARR Plugins and Aliases / Re: Fscript error
« Last post by ecaradec on May 28, 2009, 01:53 AM »
very interesting. I already saw this issue once on my mother desktop. That was caused by the uninstallation of Norton because for monitoring Scripting.FileSystemObject it was registering its own version AND forgetting to put everything back on uninstall. Did you uninstall anything recently ?
265
FARR Plugins and Aliases / Re: Fscript error
« Last post by ecaradec on May 27, 2009, 02:29 AM »
Hello mouser,
I'm not sure it will fix the issue. I've put the jscript engine in unsafe mode to avoid those verifications. The origin of the issue came from the FileSystemScript object. I could build a test project that does a CoCreateInstance on FileSystemObject first and test it on some computer that has the issue. What do you think ?
266
Living Room / Re: My daughter kind of stuck in France
« Last post by ecaradec on May 11, 2009, 03:47 PM »
I live in France, but I don't live near Paris. I don't know if I can help in some way. All hints given are good. An hostel is the easiest solution in the short term. Popular sites for classified ads in France are http://www.leboncoin.fr , http://www.vivastreet.fr and http://www.topannonces.fr. The cheapest solution would be a room in a homestay family ("chez l'habitant" in french ).
Avoid agencies that sell lists of apartments (it is very common with cheap price announces ).
267
Find And Run Robot / Re: Fsubscript doesn't play well with others
« Last post by ecaradec on April 15, 2009, 03:39 AM »
You can get the latest fscript.dll that fix the problem at : http://e.craft.free....ipt/fscript.1.16.dll and replace fscript.dll into your fsubscript folder.
268
FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 0.4.5
« Last post by ecaradec on March 26, 2009, 03:04 AM »
I uploaded a new FScript version that fix the issue :

http://e.craft.free....ipt/fscript.1.16.dll

Thank you to all those attentive eyes for founding the bug.
269
FARR Plugins and Aliases / Re: Fscript trouble
« Last post by ecaradec on March 18, 2009, 05:12 AM »
I would need a volunteer that has the issue described above to test several versions of fscript to tell me if the issue began to occur at some version of fscript. zhichao send me a callstack, however the callstack is a bit uninformative, or it is beyond my debugging capacities. It would really help me if we found the version that introduced the issue, if any.

The test consist at downloading fscriptsample and try the previous version of fscript within it. All files are located at : http://e.craft.free.fr/farr/FScript/

Here is the callstack for info :
     FScript.dll!_NMSG_WRITE(int rterrnum=10)  Line 198    C
     FScript.dll!abort()  Line 59 + 0x7 bytes    C
     FScript.dll!terminate()  Line 136    C++
     FScript.dll!__CxxUnhandledExceptionFilter(_EXCEPTION_POINTERS * pPtrs=0x0012ec54)  Line 72    C++
     kernel32.dll!7c863016()   
     [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]   
     kernel32.dll!7c8025f0()   
     advapi32.dll!77dd6a18()   
     advapi32.dll!77dd6b5e()   
     ole32.dll!774fd3d0()   
     ole32.dll!774fd3d0()   
     ole32.dll!774fdff9()   
     FScript.dll!_heap_alloc_base(unsigned int size=255)  Line 105 + 0x28 bytes    C
     ffffff90()   
270
Hum, there is probably two 1.15 version, which is not very cool. I'm making an automated build for future version, so that this kind of issues would not occur anymore. You are probably safe to use the 1.15 version with socket support. As I remember, it should be the only difference between the two versions.
Thank you for reporting the issue.
271
I have  probably done several build of the 1.15 version. However (if I didn't screw up ), they should be equivalent. Visual Studio probably add informations specific to the time of the build, or something like that, causing sha1 to be different.

272
FARR Plugins and Aliases / Re: Fscript trouble
« Last post by ecaradec on March 13, 2009, 08:59 AM »
If you have a visual c++ compiler I could build a debug version and send it to you. You could then try to run FARR with the debug version of fscript and look at the context and the callstack. It would be a great  help. The source is available at http://github.com/ec.../fscript/tree/master if you want too.
273
FARR Plugins and Aliases / Re: Fscript trouble
« Last post by ecaradec on March 12, 2009, 04:46 PM »
I tried to install .net. No problem  >:(. Did you change any options in FARR ?
274
FARR Plugins and Aliases / Re: Fscript trouble
« Last post by ecaradec on March 10, 2009, 04:51 PM »
Actually, I just tried the CZB package alone with plain vanilla version of the latest FARR and it fails miserably.
I did that too, without issues. Could you try on another pc ?
275
FARR Plugins and Aliases / Re: Fscript trouble
« Last post by ecaradec on March 09, 2009, 05:32 PM »
May be several fscript.dll plugins are interfering. It occured once. Does FARR work with only the plugin that don't work loaded ? I that is the case, could you copy your complete farr folder (with plugins ) to another PC, and try to run it there ?

If this fail, could you zip the complete FARR folder and send it to me ?


Pages: prev1 ... 6 7 8 9 10 [11] 12 13 14 15 16 17next