Article View: gnu.gcc.help
Article #42503Dynamic linking in g++?
From: Huw Lynch
Date: Wed, 29 Nov 1995 00:00
Date: Wed, 29 Nov 1995 00:00
14 lines
964 bytes
964 bytes
Has any one ever experimented with dynamically loading c++ objects? I've used system calls such as dlopen() etc to dynamically load shared objects and call functions defined within them but I've always only called stand alone functions; ie never methods of an object. What I'd like to do is define a virtual base class and then create new derrived classes that can be loaded at run time. Any ideas on whether it would work, how to do it, what restrictions would be implied, and how portable it would be? Thanks, Huw Lynch
Technical Details
Message-ID:
<gnusenet49gtmb$cvc@info.curtin.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,892002fcbe7320c8,start X-Google-Attributes: gid11318c,public From: huw@cs.curtin.EDU.AU (Huw Lynch) Subject: Dynamic linking in g++? Date: 1995/11/29 Message-ID: <gnusenet49gtmb$cvc@info.curtin.edu.au> X-Deja-AN: 120414697 distribution: gnu sender: daemon@cis.ohio-state.edu organization: Curtin University of Technology newsgroups: gnu.gcc.help