Runtime Error 216 in DLL

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35311
    TomN
    Participant

    I am using Delphi XE and using a different skin library on the host, but converted the DLL that is loaded by the host to Alpha Skins. I am not using any Alpha controls except for the SkinProvider and SkinManager on the DLL. The DLL has a mixture of VCL, Jedi, Dev Express, and TMS components. Most of the components are VCL, but I need one or two of the components from the DevX and TMS libraries. When I trace through the code, the exception seems to happen in the TMS BtnXPVS unit at the UnLoadDLL line in the finalization section.

    If I remove the two Alpha components I do not have the error. In a simple application running as the host (using BSF skins), I do not have the error in the DLL using Alpha Skins.

    We are using Almedia BSF components in the host and were using them in this DLL with no issues. I would like to convert most of our apps over to Alpha controls as our skin library, but this could be an issue since we use many DLLs as our program modules.

    Thanks in advance for any help on this!

    Tom

    #48827
    Support
    Keymaster

    Hello Tom

    Can you show your application remotely?

    I'm using the TeamViewer for such purposes usually.

    #48850
    TomN
    Participant

    Thanks Serge. I think that I found the issue. I changed the parent handle from the application to the panel that the DLL is docked into and it seems to work now. DLLs are so fickle. 🙂

    The strange thing is that this didn't show up until I took out Almediadev Business Skin Forms and replaced with Alpha Skins.

    Tom

    'Support' wrote:

    Hello Tom

    Can you show your application remotely?

    I'm using the TeamViewer for such purposes usually.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.