newbie: Basic Frustrations



Folks,

I've been struggling for days to try and get a basic component working.
I'm using GNOME 1.2 (helix preview 2).

I have a GNOME:GenericFactory with the factory and its child registered.
ie.

[ThingFactory]
type=exe
..
[Thing]
type=factory
..

I use goad_server_activate_with_repo_id() to get the factory object. OK.
I want to call create_object() to generate a new child object, but my impl_ThingFactory_create_object() method never gets called. However impl_Thing__create() gets called when I activate the server.

When I call ThingFactory_create_object(), it goes off into GNOME_GenericFactory_create_object() and then I get a segfault.

What am I doing wrong?
What do I need to pass to create_object(), especially for the string_list? Can I pass NULL, or an empty CORBA_sequence_CORBA_string with _length=0?

Where can I find info? The components documentation GNOME site is horrifically inadequate and the headers don't give any information.

Where can I find simple sample code? I've tried cvs.gnome.org but all the samples I found were for Bonobo not using the GOAD server.

I've read the GNOME&CORBA "book". Please don't suggest an upgrade.

Thanks very much for any information


Rich






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]