Mail Archives: djgpp/2007/05/13/01:41:36
-----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 -