*BSD News Article 82602


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!www.nntp.primenet.com!nntp.primenet.com!news.sgi.com!news-peer.gsl.net!news.gsl.net!news-penn.gsl.net!news.gsl.net!news.NetVision.net.il!news
From: Sergey Armishev <sergey@fibronics.co.il>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Dynamic linking ?
Date: Sun, 10 Nov 1996 10:46:18 -0800
Organization: Fibronics.Ltd
Lines: 31
Message-ID: <328622FA.70ED@fibronics.co.il>
NNTP-Posting-Host: sergey.fibronics.co.il
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

Help !
Our platform independed application has to read and interpretate
some user's scripts (in ASCII format). In the interpretation process
the application has call functions, defined by user in his DLL(MS 
Windows)
or shared lybrary(UNIX).
The name of DLL and of function are to be described by user
in the script.

On MS Windows we successfully use with LoadLibrary / GetProcAddress
functions of MS Windows SDK.

On Sparc (SunOS) we successfully use with functions dlopen, dlsym etc.
from 'simple programmatic interface to the dynamic linker' -
"MISCELLANEOUS LIBRARY FUNCTIONS" (see header <dlfcn.h>)

On RISC-6000 (AIX 3.2) functions from dlopen-group we cannot find.

We use gcc-2.7.2 compiler.

Any help will be appreciated.
Thanks for cooperation.

Please reply to 'netman@netvision.net.il' to Alex Rozen.


-- 
-------------------------------------
Name: Sergey Armishev
E-mail: Sergey Armishev <sergey@fibronics.co.il>
Tel: 972-4-8313697