Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!tandem!netcom!aed From: aed@netcom.COM (Andrew Davidson) Newsgroups: comp.lang.c++ Subject: dynamic linking Message-ID: <28352@netcom.COM> Date: 15 Mar 91 01:31:37 GMT Organization: Netcom - Online Communication Services UNIX System {408 241-9760 guest} Lines: 31 Hi I have been having some trouble with dynamic linking and loading. 1) I am using Wilson Ho's dld-3.2.1 sunos 4.1.1 on a sparc station 1+ g++-1.37.0 I can get dld to correctly link and load c object files in to my c++ application, but I can not get dld to work with c++ object files. dld_get_func fails. Could this because c++ mangels names? Is there anyway to figure out what the name of the function in the object file is? 2) has anyone tried dynamic linking using the dlopen() functions provided in dlfcn.h. I looked at the header file and noticed that the prototype is in the K&R style not ANSI style. Thanks in advance Andy -- ----------------------------------------------------------------- "bede-bede-bede Thats all Folks" Porky Pig Andy Davidson Woodside CA. aed@netcom.COM -----------------------------------------------------------------