Z
Zorro
Is there something in particular I must know about Linux Shared libs?
Any help will be appreciated. Here is the question.
I am passing a pointer, to a pointer, to an object that will be
created in a shared library. This is as simple as I am saying it, and
it works fine with a dll. However, in Linux, as soon as the call
returns the pointer to the object in the library seems to be pointing
to junk, and I get seg-fault. The object is not destroyed to be sure,
in fact it is created via new, and not deleted at that time.
Thank you.
Any help will be appreciated. Here is the question.
I am passing a pointer, to a pointer, to an object that will be
created in a shared library. This is as simple as I am saying it, and
it works fine with a dll. However, in Linux, as soon as the call
returns the pointer to the object in the library seems to be pointing
to junk, and I get seg-fault. The object is not destroyed to be sure,
in fact it is created via new, and not deleted at that time.
Thank you.