Re: [orbitcpp-list] Re: orbitcpp status and question
Status: Beta
Brought to you by:
philipd
From: Sam C. <sa...@to...> - 2000-12-19 05:57:59
|
Brian May <ba...@sn...> wrote: >=20 > No, this is the latest release, 0.29, from sourceforge. Of course, I > heard something about 0.30, but I don't think that is released yet. Not yet. There was some muttering about it, but the features planned for 0.30 aren't quite complete, and it looks like Phil has been too busy for the past few weeks to do much on it. Same story goes for me. > If 0.29 isn't the newest release, then obviously I am looking at web > pages that are incorrect. In this case, where can I get the latest > version from? >=20 > Where can I find up-to-date instructions on obtaining the CVS version? > (ie. hostname, directory, and login details). The project is hosted on SourceForge (http://orbitcpp.sourceforge.net/). There is a link to the CVS instructions from the main project page. For convenience, the link is: http://sourceforge.net/cvs/?group_id=3D646 > On the topic of the specs, I was wondering, how do I free object > references? I had a quick glance through the specs (probably should > check to ensure it is up-to-date: filename 99-07-41.pdf), but couldn't > find anything. >=20 > Currently I have: >=20 > void destroy() { > PortableServer::ObjectId *objid =3D poa->servant_to_id(this); > poa->deactivate_object(*objid); > CORBA_free(objid); > delete(this); > } >=20 > but not really sure if I have freed objid the correct way (isn't there > a C++ version of CORBA_free?) There's CORBA::free(), but I don't think that's the question you're really trying to ask. Since ORBit-C++ is just a wrapper around ORBit, you should be able to use CORBA_free() and CORBA::free() interchangably anyway. For instructions on freeing the object on the server side, see: http://lists.sourceforge.net/archives//orbitcpp-list/2000-October/000331.ht= ml But also see the "How to do garbage collection under CORBA" chapter in the ORBit Beginners Documentation, especially the "Difference between the client and the server" section, which clarifies the difference between and object and an object reference: http://icps.u-strasbg.fr/~genaud/ORBIT/c382.htm This should help you work out what you're really trying to do, so that you can then work out how to do it. I hope what I've given you helps. :) --=20 Sam Couter | Internet Engineer | http://www.topic.com.au/ sa...@to... | tSA Consulting | OpenPGP key available on key servers OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C |