1 Changelog for chapter 3 example in "Advanced CORBA Programming
2 with C++" by Michi Henning and Steve Vinoski, Copyright 1999,
3 Addison-Wesley, Reading, MA. The following changes have been made
4 to the book's source code to make the example work with TAO and
5 with various platforms and compilers.
7 ______________________________________________________________________________
9 1. changed filenames .cc to .cpp and .hh h, and modified #includes in
10 client.cpp server.cpp and server.h appropriately.
12 2. a) changed #include "time.h" to #include "timeC.h" in client.cpp
14 b) Moved standard #includes below local #includes, and commented-out
15 unnecessary #includes to avoid warnings and errors (g++)
16 -client.cpp now reads:
19 // #include <iostream.h>
20 -server.cpp now reads:
23 // #include <iostream.h>
25 ______________________________________________________________________________
27 3. added .in() to _var type parameters
28 -3 times in client.cpp for calls to is_nil() and _narrow()
29 -3 times in main() in server.cpp for calls to _narrow(),
30 object_to_string, and <<
32 ______________________________________________________________________________
33 CHANGES MADE EXCLUSIVLY FOR TESTING PURPOSES
35 4. to allow the test to be built without exceptions=1, all try/catch
36 code has been replaced with ACE_TRY macros, and the CORBA Environment
37 variable has been added to the parameters of get_gmt().
39 5. In server.cpp, the call to orb->run() has been replaced with an explicit
40 event utilizing orb->work_pending() and orb->perform_work().