[omniORB] Using #include in IDL files

James M. Moe sma@rtd.com
Mon, 10 May 1999 22:21:52 -0700 (MST)


On Mon, 10 May 1999 23:40:13 -0500, Steven W Brenneis wrote:

>Why would you mix C++ and IDL?  IDL is intended to define a platform and
>language independent interface.  I'm not sure what else you are doing
>with this enumeration, [ ... ]

    It is not such a nice, homogeneous environment. The project spans real-time 
computers running test equipment to industrial servers and databases. The enumeration 
contents are used across all of these in an attempt at minimizing mismatches when the 
enumerations change.
    The enumeration contents are used in non-CORBA parts of the application. The tester 
control applications must operate independently of the CORBA-based code yet communicate 
intelligibly with it. In this way we have a chance of version control actually working.
    The tester computers do not have a C++ compiler available, only C, so we are using 
the Xerox Parc ILU ORB (of which CORBA is a subset!), the only one we could find that 
provided source code we could adapt to those computers and had a C mapping.



Jim Moe