This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: dlopen ? is it possible to use with stdc++
- To: Levente Farkas <lfarkas at mindmaker dot hu>
- Subject: Re: dlopen ? is it possible to use with stdc++
- From: brent verner <brent at rcfile dot org>
- Date: Tue, 17 Oct 2000 15:13:37 -0400
- Cc: stdc++ <libstdc++ at sourceware dot cygnus dot com>
- References: <39EC6687.A171C779@mindmaker.hu>
On 17 Oct 2000 at 16:47 (+0200), Levente Farkas wrote:
| hi,
| I'm try to use a simple shared library:
| ---------------------------
| #include <iostream>
// as Gaby noted, your test1 has c++ linkage, fix it
// with this declaration. I've played quite a bit with
// various useful ways to get c++ objects from dlopened
// files. If you'd like more info, feel free to email
// me directly.
extern "C" {
void test1();
}
| void test1()
| {
| cout << "test1";
| }
--
All opinions expressed are My own, unless otherwise attributed. In
presenting facts, I expressly reserve the right to be Wrong. Portions
of this message authored by Me are subject to the Free Thought License.