Sample code?



Hi all,

I have gotten to the point of cleaning up my CORBA servers, and am 
trying to get rid of all the 'leaked' objects, and that final exception 
on CORBA_ORB_destroy(_corba_global_orb, local_ev);

At the moment my code is based mostly on the examples in 
orbit-docs.tar.gz, but these all suffer from the same problems.  Does 
someone perhaps have some simple reference code for a 'clean' client and 
server?

At the moment, I have my code down to one leaked reference and the final 
exception, but mostly through hacking at the examples, and the testsuite 
in the ORBit distribution.  I would really like to do this 'the right 
way' (TM) though.  If any body could provide such an example, I would 
greatly appreciate it!

Many thanks,

Justin




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