help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dynamic_cast returns NULL if argument passed from dynamic_library


From: David
Subject: dynamic_cast returns NULL if argument passed from dynamic_library
Date: Fri, 30 Apr 2004 02:30:53 -0400

Hi,

I'm trying to use dynamic_cast on an object passed from the .so loaded with
dlopen. I do everything that http://gcc.gnu.org/faq.html#dso suggests. It
still fails. It works with MSVC++ 6.0 and if the code is directly linked
against the library.

I wonder if I could somehow force use the older method of string comparisons
to determine type equality? Also, the compiler is configured
with --disable-namespaces, I wonder if this has any effect?

Any suggestions would be appreciated.

Thanks.

David.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]