[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
C++ SHARED LIBRARY HELP
From: |
Adam in Denver |
Subject: |
C++ SHARED LIBRARY HELP |
Date: |
Sun, 10 Dec 2006 15:51:13 -0700 |
Hello,
I'm writing an application with FC5 Eclipse g++ 4.1.1. The application uses
a plugin architecture.
Plugins are shared library that are dynamically dlopen()'d.
After dlopen() a dlsym()'d extern "C" Attach() function is called and a
CPlugin class derived object returned.
When I debug, the CPlugin derived objects member variables are visible and
accessible, the methods are not.
If I invoke a bound method on the object I get a SIGSEGV.
If I invoke a static method (passing object pointer as variable), I can step
into it until I again call
a bound method on the object and I get a SIGSEGV again.
I fairly new to Linux/g++.
What am I doing wrong ?
Thanks,
Adam.
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet
News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+
Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
- C++ SHARED LIBRARY HELP,
Adam in Denver <=