• MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    Quote:

    BSzili wrote:
    As a last resort, I'm thinking of ditching dynload.library in favor of my DLL loader. It works similarly to FPSE's one, and is loosely based on the one found in the Amiga port of Heretic 2 and Quake 2. The biggest advantage is loading the "shared objects" as regular executables, which means all the C library initializations and C++ constructors/destructors are taken care of.


    FYI dynload.library handles .c/dtors on dlopen/close(), so like itix observed your problem is likely to be that something already freed stuff that is attempted to be freed in the destructor, could be worth adding some debug there.


    - CISC
  • »23.07.14 - 13:26
    Profile