Solved

DLL's in Unix

Posted on 1998-11-10
3
435 Views
Last Modified: 2013-12-06
I have to simulate Win32 Functions LoadLibrary & FreeLibrary
in HP-UX.How to acheieve similar functionality provided by DLL's in Unix.Is there any need to call a routine(like Load library) for loading a shared library(As DLL) in unix.

Thanks in advance
0
Comment
Question by:flower020397
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 2007717
Usually no, if to specified the dynamic shared library at link time.
The dynamic load module automatically loads the library at startup and maps the unresolved symbols from the executable.

Of corse, you may tell the linker not to do so, or you have not specified the appropriate libs at link time, then you must load the libs yourself using dl_load().
0
 

Author Comment

by:flower020397
ID: 2007719
Thanks !!!
If you can please tell me few tips  the way shared library is implemented in HP-UX as compared to windows environment,as I am new to Unix environment.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question