JS calling COM method

Discussion in 'Javascript' started by rottyguy70@yahoo.com, Mar 22, 2005.

  1. Guest

    Hello, we have some JS code calling an asynchronous COM method on a PC.
    The JS passes in an object with callbacks that are to be made when the
    COM method is complete. When the COM method is done and tries to call
    back on this object, it receives a COM error translated to "Can't
    execute code from a freed script". I thought that by ref'in the
    incoming callback object supplied from JS, COM would force the script
    to remain resident until it was released? Is this an incorrect
    assumption? If so, what is the correct way to approach this?

    Thanks!
     
    , Mar 22, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jabel D. Morales - VMan of Mana

    Problems with JNI: calling a Java method from native method.

    Jabel D. Morales - VMan of Mana, Aug 1, 2003, in forum: Java
    Replies:
    1
    Views:
    4,889
    Joseph Millar
    Aug 1, 2003
  2. Replies:
    1
    Views:
    653
    Andrew Thompson
    Jan 28, 2007
  3. sck10
    Replies:
    0
    Views:
    369
    sck10
    Mar 15, 2007
  4. Erik
    Replies:
    11
    Views:
    657
    Peter Duniho
    Mar 29, 2008
  5. why-em-jay

    Calling a method of the calling object ...

    why-em-jay, Sep 15, 2005, in forum: Perl Misc
    Replies:
    3
    Views:
    195
    Anno Siegel
    Sep 15, 2005
Loading...

Share This Page