logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: FC File System: msg#00650

Subject: Re: FC File System
well, I basically modified js32.dll, there is an open source implementation 
called spidermonkey from mozilla and netscape.

I caught the context each time, because each app instance gets its own context, 
what I did was
in JS_DefineFunction on the third calling of this (fcs calls it as, math, 
server, application) I execute my calls and I have a val called ObjectOverload 
and every time DefineObject is called I incriment a val and test it against 
that to reset it to 0 and do my setup.

In my setup I pass over the context and the global object, (you can get the 
global object from the context but meh)

from then on I messed about, You will need visual c 6, which is a bit of a 
bitch to work in. But if that's all good you will find the project at mozilla 
mozilla.com/js/spidermonkey

if you like you can use my jsapi.c which is what I modified and see how I did 
things, my setup function is called SetupMyNative, it's a good place to do your 
setups.

Don't make fun of my code lol im using a very old language with odd badly 
documented API's its not my fault! lol

my jsapi.c is avalible at fczone.com/getfile?id=jsapi.c

just replace spidermonkeys with mine and compile away :D

I don't think there is anything else I need to say. Good luk :S

  ----- Original Message ----- 
  From: dan<mailto:dan1978-QPTCsZt4d47SdJUZql30VQ@xxxxxxxxxxxxxxxx> 
  To: FlashComm Mailing 
List<mailto:flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx> 
  Sent: Monday, May 30, 2005 10:18 PM
  Subject: Re: [FlashComm] FC File System


  where can i get the API :)
  like to try thing with it

  ----- Original Message ----- 
  From: "daz lee" 
<dazlee4-PkbjNfxxIARBDgjK7y7TUQ@xxxxxxxxxxxxxxxx<mailto:dazlee4-PkbjNfxxIARBDgjK7y7TUQ@xxxxxxxxxxxxxxxx>>
  To: "FlashComm Mailing List" 
<flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx<mailto:flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx>>
  Sent: Monday, May 30, 2005 6:31 PM
  Subject: Re: [FlashComm] FC File System


  sorry was walking dog, lol, its native flashcom code it works just like any
  other server side class,

  FileSystem.Write("c:\\myfile.txt", "hello from flashcom"); // returns true
  or false to mark success

  No weird onResults etc all native, sorry its only for windows lol but It
  took me a while just to do this as it is. Took me a while to get used to the
  API's.

  I may add a few more functions if I can think of them but not too many, as I
  said it was just an experiment.
    ----- Original Message ----- 
    From: Stefan 
Richter<mailto:stefan-fMeCE+ULXElEfu+5ix1nRw@xxxxxxxxxxxxxxxx<mailto:stefan-fMeCE+ULXElEfu+5ix1nRw@xxxxxxxxxxxxxxxx>>
    To: 
graeme.bull-lB/6vUJvybQOPmVbiNFCMNBPR1lH4CV8@xxxxxxxxxxxxxxxx<mailto:graeme.bull-lB/6vUJvybQOPmVbiNFCMNBPR1lH4CV8@xxxxxxxxxxxxxxxx<mailto:graeme.bull-lB/6vUJvybQOPmVbiNFCMNBPR1lH4CV8@xxxxxxxxxxxxxxxx<mailto:graeme.bull-lB/6vUJvybQOPmVbiNFCMNBPR1lH4CV8@xxxxxxxxxxxxxxxx>>
  ; 'FlashComm Mailing 
List'<mailto:flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx<mailto:flashcomm@xxxxxxxxxxxxxxxxxxxxx>>
    Sent: Monday, May 30, 2005 5:10 PM
    Subject: RE: [FlashComm] FC File System


    Yup!


    -----Original Message-----
    From:
  
flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx<mailto:flashcomm-bounces@xxxxxxxxxxx<mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx<mailto:flashcomm-bounces@xxxxxxxxxxx>
  igleaf.com>
    
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx] On 
Behalf Of Graeme Bull
    Sent: Monday, May 30, 2005 4:56 PM
    To: 'FlashComm Mailing List'
    Subject: RE: [FlashComm] FC File System

    As in you can create, delete, detect files and directories on the server
    from an ASC file?

    -Graeme

    -----Original Message-----
    From:
  
flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx<mailto:flashcomm-bounces@xxxxxxxxxxx<mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx<mailto:flashcomm-bounces@xxxxxxxxxxx>
  igleaf.com>
    
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx]On 
Behalf Of daz lee
    Sent: Tuesday, May 31, 2005 12:45 AM
    To:
  
flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx<mailto:flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx<mailto:flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx<mailto:flashcomm-1Ss2GqJETD3yZ38Mhd3e/82oF1MPrc+f@xxxxxxxxxxxxxxxxxx>>
    Subject: [FlashComm] FC File System


    Hey there guys, I spent most of yesterday as an experiment playing with
    flashcom files, and I've built a replacement js32.dll which adds a windows
    file system to flashcom.

    two new objects are available with this FileSystem and Directory, you will
    find it and some information here.

    fczone.com/SSAS_Extra

    FileSystem.ReadAll, FileSystem.Write, FileSystem.Append,
  FileSystem.Remove,
    FileSystem.Rename

    Directory.Exists, Directory.Create, Directory.Remove, Directory.Rename,
    Directory.List

    Check it out, the download links are at the top in stage 3 of the install
    instructions.

    Hope someone finds a use for it

    =---------------------------------------------------------
    Supported by Fig Leaf Software -
  
http://www.figleaf.com<http://www.figleaf.com/<http://www.figleaf.com<http://www.figleaf.com/>>
    =---------------------------------------------------------

    To change your subscription options or search the archive:

  
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm>>


    =-----------------------------------------------------------
    Supported by Fig Leaf Software -
  
http://www.figleaf.com<http://www.figleaf.com/<http://www.figleaf.com<http://www.figleaf.com/>>
    =-----------------------------------------------------------

    To change your subscription options or search the archive:

  
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm>>


    =-----------------------------------------------------------
    Supported by Fig Leaf Software -
  
http://www.figleaf.com<http://www.figleaf.com/<http://www.figleaf.com<http://www.figleaf.com/>>
    =-----------------------------------------------------------

    To change your subscription options or search the archive:

  
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm>>

  =---------------------------------------------------------
  Supported by Fig Leaf Software - 
http://www.figleaf.com<http://www.figleaf.com/>
  =---------------------------------------------------------

  To change your subscription options or search the archive:
  
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm>


  =-----------------------------------------------------------
  Supported by Fig Leaf Software - 
http://www.figleaf.com<http://www.figleaf.com/>
  =-----------------------------------------------------------

  To change your subscription options or search the archive:
  
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm<http://chattyfig.figleaf.com/mailman/listinfo/flashcomm>

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm



<Prev in Thread] Current Thread [Next in Thread>