The Question is:
I want to write a MS C++ application to read and write to a openVMS mailbox. Is
this possible? If so how do I do it?
The Answer is :
Microsoft C++ is a Microsoft application, expecting Microsoft
bindings and a Microsoft operating system platform.
If you wish to use a C++ application on OpenVMS, then you will
have to use a different C++ compiler, or you will need to look
into the Enterprise Toolkit (which provides bindings and support
for developing OpenVMS programs using the Microsoft Visual
environment), or you will need to port the Microsoft C++ code
to a C++ compiler on OpenVMS.
If you wish to execute the Microsoft C++ code on a Microsoft
platform and connect to OpenVMS over a network, then an OpenVMS
server application -- using IP directly, or potentially using the
COM/DCOM package for OpenVMS -- could then be created to provide
access to an OpenVMS mailbox or other OpenVMS constructs.
Information on programming on OpenVMS is available in the OpenVMS
Programming Concepts manual, details on IP are in the TCP/IP
Services and C and C++ manuals, and details on COM and DCOM are
in the documentation associated with that package.