Operating System - OpenVMS
1753792 Members
6892 Online
108799 Solutions
New Discussion юеВ

Re: Creating a shareable image using C++

 
SOLVED
Go to solution
P R Stone
Occasional Contributor

Creating a shareable image using C++

The OPenVMS shareable image cookbook and C++ release notes v5.6Crefer to example code SW_SHR in sys$common:[syshlp.examples.cxx]. I cannot find them on my machine (Compaq C++ V6.5-004 for OpenVMS Alpha V7.3-2 ) but other examples are there.
Were can I get this source from as it sounds very similar to what I want to do.
6 REPLIES 6
Wim Van den Wyngaert
Honored Contributor

Re: Creating a shareable image using C++

Found it on 6.2 (sw_shr_alpha.opt

! ***************************************************************************
! *
! * Copyright Digital Equipment Corporation 1997. All rights reserved.
! *
! * Restricted Rights: Use, duplication, or disclosure by the U.S.
! * Government is subject to restrictions as set forth in subparagraph
! * (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR
! * 52.227-14 Alt. III, as applicable.
! *
! * This software is proprietary to and embodies the confidential
! * technology of Digital Equipment Corporation. Possession, use, or
! * copying of this software and media is authorized only pursuant to a
! * valid written license from Digital or an authorized sublicensor.
! *
! ***************************************************************************
NAME="sw"
IDENT="sw V1.0"
GSMATCH=LEQUAL,1,0

CLUSTER=TRANSFER
COLLECT=TRANSFER,$$SW_VECTOR

SYMBOL_VECTOR=( -
SW_G_SW = DATA, -
SW_REAL__9STOPWATCHXV = PROCEDURE, -
SW_RESET__9STOPWATCHXV = PROCEDURE, -
SW_START__9STOPWATCHXV = PROCEDURE, -
SW_STOP__9STOPWATCHXV = PROCEDURE, -
SW_SYSTEM__9STOPWATCHXV = PROCEDURE, -
SW_USER__9STOPWATCHXV = PROCEDURE, -
SW___CT__9STOPWATCHXV = PROCEDURE )
Wim
P R Stone
Occasional Contributor

Re: Creating a shareable image using C++

Many thanks to Wim Van den Wyngaert for the OPT file. However I would also like to see the following files SW.CXX ans SW.HXX. (The files SW_TEST.CXX and SW_BUILD.COM would also help but I can probably work these out myself.)
Kris Clippeleyr
Honored Contributor

Re: Creating a shareable image using C++

Hi,

If you can get hold of the CXX062.A saveset, and then extract the file CXX_EXAMPLES.TLB from that saveset, you can then extract all the SW_*.* example files from that library using LIBRARY/EXTRACT.

Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Wim Van den Wyngaert
Honored Contributor

Re: Creating a shareable image using C++

Or use this.
Wim
Martin Vorlaender
Honored Contributor
Solution

Re: Creating a shareable image using C++

Following Kris' suggestion, I zipped up all the files.

cu,
Martin
P R Stone
Occasional Contributor

Re: Creating a shareable image using C++

This is ideal. It gives me the global object export that I needed.

Thanks everyone