Re: Question



Hi gulko,

On Thu, 2002-12-19 at 08:20, Артем Гулько wrote:
> I got error "Invalid Object Ref".

	Sounds most odd - almost as if you havn't activated the object on the
client or somesuch - and/or you're using an old / stale object
reference. You have to transfer the IOR to the client each time you
re-run the server.

> CORBA_string
> Init(SPSW_App2SupervisorInterface _obj,
>       CORBA_Environment * ev)
> {
> printf("Init\n");
> return "Hello";
> }

	That's also broken as a CORBA methods - you need to CORBA_string_dup ()
your return value.

	HTH,

		Michael.

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot




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