ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/05/13/01:41:36

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Sun, 13 May 2007 08:40:43 +0300
From: alex bodnaru <alexbodn AT 012 DOT net DOT il>
Subject: Re: How to do Simple Dynamic Linking with DJGPP?
In-reply-to: <1179033850.566172.287250@u30g2000hsc.googlegroups.com>
To: djgpp AT delorie DOT com
Message-id: <4646A4DB.4090109@alex3>
MIME-version: 1.0
X-Enigmail-Version: 0.94.2.0
References: <1179033850 DOT 566172 DOT 287250 AT u30g2000hsc DOT googlegroups DOT com>
User-Agent: Icedove 1.5.0.10 (X11/20070329)
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


hi paul,

look at the dlx package for djgpp.

it is meant for this, though i have never used it myself.

alex

hamrick DOT paul AT gmail DOT com wrote:
> Hi,
> 
> I'm fairly new to C++ programming. I'm trying to achieve some very
> basic dynamic linking.  How do I go about doing this?  What I want to
> do, is have a "shared object" file that basically contains a class
> definition, class methods, etc.  I also want an executable program
> that at runtime grabs this shared object file and uses it to create an
> instance of the class that is defined in it.  Does this mean I would
> have something like this:
> 
> exectuable.exe
> sharedobject.so
> 
> ???
> 
> I'm not worried about doing this in any way that is considered to be
> the conventional way.  I only want to achieve some simple dynamic
> linking, just to see if I can get it to work.  Eventually I want to
> learn COM, and before I start messing with COM I want to have a
> modular program.  Please let me know if you can clarify any of my
> confusion.
> 
> Thanks,
> 
> Paul
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRkak2tpwN1sq38njAQIWIwP+K6WvvU4iZTwBNtyah4K+u5Mp78QHvL/M
r0OjnVtR2WDDqI0lhgc3HuUYKXHdnTu8odvo7MiprFF3fB3c08sj+y6DxoeWMjDh
ccUbKgJg/fDbNHLjWozFJTF55MhG5Qc6M0yhQe+cUwq2+CnZdwjNXVA8fKSo0yFe
c8aQR1iXQXg=
=dkHg
-----END PGP SIGNATURE-----

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019