[an error occurred while processing this directive]

HP OpenVMS Systems

Ask the Wizard
» 

HP OpenVMS Systems

OpenVMS information

» What's new on our site
» Upcoming events
» Configuration and buying assistance
» Send us your comments

HP OpenVMS systems

» OpenVMS software
» Supported Servers
» OpenVMS virtualization
» OpenVMS solutions and partners
» OpenVMS success stories
» OpenVMS service and support
» OpenVMS resources and information
» OpenVMS documentation
» Education and training

Quick Links

» Non-javascript page
» Ask the Wizard
» OpenVMS FAQ

Test Drive OpenVMS

» OpenVMS I64 test drive
» Java test drive

Other information resources available to you include:

» OpenVMS freeware
» ECO kits, software and hardware support, prior version support
» Alpha SRM, ARC, and AlphaBIOS firmware updates
» ENCOMPASS - HP user group
» OpenVMS software downloads, OpenVMS freeware CD-ROM
» OpenVMS firmware locations
» DECconnect passive adaptor charts
» Cables reference guide
» MicroVAX console commands
» OpenVMS student research

Select a topic below to see Questions Frequently Asked by partners

» Using the online documentation library(installing BNU from the asap SDK)
» Global sections(how to create and use.)
» xx$CREATE_BUFOBJ system service(usage)
» Ethernet address(methods of determination)
» Shareable images(cookbook approach to creating one)
» Sharing data/code at absolute addresses(a guide with examples)
» Determining the Alpha microprocessor
» Using GETSYI to get hardware status

Evolving business value

» Business Systems Evolution
» AlphaServer systems transition planning
» Alpha RetainTrust program

Related links

» HP Integrity servers
» HP Alpha systems
» HP storage
» HP software
» HP products and services
» HP solutions
» HP support
disaster proof
HP Integrity server animation
HP Integrity server animation
Content starts here

Ask the Wizard Questions

Link: Shareable image update

The Question is:


I link my executable as a shared image. The linking in done in 2 steps.
The first step links the shared part, the next step links the shared
executable with the static code. No problems there. My problem is that
I need to be able to have my users replace a library, say for example
IPLUSR.OLB, in the shared executable. The "dummy" IPLUSR.OLB needs to
be linked into the shared executable to satisfy the references. Is there
a way to replace an existing library in a shared executable?

Is there a way to tell the shared executable that the library IPLUSR
can get replaced on the fly? If so how do I do this?

My final executable may be 50,000 blocks and linking may take 5 minutes.
I want my users to be able to quickly link a new execuable
and not take up so much disk space.

Signed
Desparately Looking for an Answer


The Answer is:


  Shareable images do not contain nor make run-time references to
  object libraries.

  If you need to quickly change components of a shareable image that are
  derived from a particular object library, you will need/want to place
  these routines in a second shareable image, and link the first shareable
  image against these routines.  A standard image can be provided based
  on the "stock" contents of the object library, or a "stub" image can
  be provided.  Programmers can thus build private images as required.

  Redirection of shareable images can be performed with logical names.
  (Typically non-privileged logical names, though privileged logical
  names are required for redirecting shareable images within a privileged
  or protected application.)