[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
seg-faults on the road
From: |
daniel kottow |
Subject: |
seg-faults on the road |
Date: |
Wed, 19 Dec 2001 17:34:01 +0100 |
got the new swarm package installed,
now regxpcom doesn't complain about anything and AFAIK registers swarm
components.
i dont know what xpcshell is about, but that fails for me because of an
unresolved symbol.
anyway, in python, i tried the following:
from xpcom import components
cls = components.classes['urn:swarm:SwarmEnvironmentImpl']
obj = cls.createInstance(components.interfaces.swarmISwarmEnvironment)
and that seems to work, i get an instance of <XPCOM object
'urn:swarm:SwarmEnvironmentImpl'>.
but if i call, e.g.,
obj.guiFlag
or any other interface element mentioned in swarmISwarmEnvironment.idl i
get a seg fault :(
this happens with other swarm com stuff as well.
what i still dont understand is how to call swarm's create method on such
an object.
create is part of the swarmISelector interface, but this interface doesnt
seem supported by the swarm components like the cls from the example above.
i think a good idea would be to get swarm COM working from javascript on my
machine.
so i downloaded rhino and i can now run the interactive shell which i hope
is the one you are using. maybe you could provide an explicit "hello swarm"
snippet which i can try from rhino ?
greetings, daniel
--
Daniel Kottow address@hidden
Security and Testing Technology
http://vision.fhg.de/~daniel
Production Technology Centre Pascalstr. 8 - 9
Fraunhofer-Institut IPK Berlin D - 10587 Berlin
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
- Re: scripting support for swarm ?, (continued)
- Re: scripting support for swarm ?, daniel kottow, 2001/12/12
- Re: scripting support for swarm ?, Marcus G. Daniels, 2001/12/12
- Re: scripting support for swarm ?, Marcus G. Daniels, 2001/12/12
- starting to try out XPCOM, daniel kottow, 2001/12/17
- Re: starting to try out XPCOM, Marcus G. Daniels, 2001/12/17
- compiled and registered swarm XPCOM - could i have a crash course ?, daniel kottow, 2001/12/18
- Re: compiled and registered swarm XPCOM - could i have a crash course ?, Marcus G. Daniels, 2001/12/18
- now *only* missing a symbol, daniel kottow, 2001/12/18
- Re: now *only* missing a symbol, Marcus G. Daniels, 2001/12/18
- Re: now *only* missing a symbol, Marcus G. Daniels, 2001/12/18
- seg-faults on the road,
daniel kottow <=
- Re: seg-faults on the road, Marcus G. Daniels, 2001/12/19
- Re: seg-faults on the road, daniel kottow, 2001/12/19
- Re: seg-faults on the road, Marcus G. Daniels, 2001/12/19
- its getting better, daniel kottow, 2001/12/19
- Re: its getting better, Marcus G. Daniels, 2001/12/19
- limits, daniel kottow, 2001/12/19
- ld stuff, daniel kottow, 2001/12/19
- found the COM example, sorry, daniel kottow, 2001/12/19
- Re: found the COM example, sorry, Marcus G. Daniels, 2001/12/19
- Re: compiled and registered swarm XPCOM - could i have a crash course ?, Marcus G. Daniels, 2001/12/18