From:  "Alexander Adam" <contact@emiasys.com>
Date:  29 Sep 2006 21:23:10 Hong Kong Time
Newsgroup:  news.mozilla.org/netscape.public.mozilla.jseng
Subject:  

Instance Handling

NNTP-Posting-Host:  84.146.235.82

Hi!

We're using Spidermonkey inside an ActiveX. For each file we open, we
create a new runtime instance and publish our custom js classes to the
runtime. But somehow if the activeX gets loaded by one process and you
open a second file, the first one stops working because the runtime
engine doesn't know anymore about our custom classes, just the second
file does. We've checked it twice and there're definitely *two* runtime
instances. If you create two processes, each using the activeX, it
works as expected.

So my question, is there a specific issue with ActiveX and Instance
Handling I am not aware of? What could I do to get it working, any ref
material or hints?

Regards
Alexander Adam