Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

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

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
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.)


 

** About PDF files: The PDF files on this Web site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software installed on your system, you may download it from the Adobe Web site.
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.