HP OpenVMS Systems

ask the wizard
Content starts here

COM compiler requirements?

» close window

The Question is:

 
Hello --
We've been watching OpenVMS developments relating to COM/DCOM very closely, and
 noticed the following listed under system requirements:
 
For OpenVMS systems:
 
OpenVMS Version 7.2-1 or higher
DEC C Version 5.6 or higher and DEC C++ Version 5.6 or higher (for COM for
 OpenVMS application development)
DIGITAL TCP/IP Services for OpenVMS Version 5.0 or equivalent
Advanced Server for OpenVMS Version 7.2A or higher
 
Why are both the "C" and "C++" compilers required?  We were under the
 impression that the "C++" compiler is a super-set of the original "C"
 compiler.  Is this not true?
Thanks for any clarification.
  -- Steve Reiner
 
Steve Reiner
Systems Engineer
Logan Aluminum, Inc.
Russellville, KY
 


The Answer is :

 
  On OpenVMS, the C++ and C languages have separate compilers.
 
  The DCOM MIDL compiler generates proxy and stub C code that
  requires the C compiler.  Thus if you are using C++ for your
  development (as is typical), you need both compilers.
 
  The OpenVMS COM engineering team has a goal of eliminating the
  need for the C compiler in a future release of the COM software.
 

answer written or last revised on ( 31-JUL-2000 )

» close window