On 24 Jan 2003 at 10:48, Project Team wrote:
> We are working on a project where we already have prepared shared libraries. 
> However we are not clear about how the interfaces to the functions in the 
> library are obtained. These, if in the form of function pointers are 
> returned, then how do we map these to the function calls.

Hard way is to use dlopen from program to obtain function pointers. man dlopen 
for more info.

Simpler way is to include .h file and link the object file against the library. 
Place the library in LD_LIBRARY_PATH so that the program finds it runtime..

HTH

Bye
 Shridhar

--
Magary's Principle:     When there is a public outcry to cut deadwood and fat from 
any     government bureaucracy, it is the deadwood and the fat that do  the cutting, 
and the public's services are cut.



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to