Bug Report Q488736
Visible to All Users

An AV occurs when closing an application with a statically linked DLL file that contains one or more DevExpress controls if the native painting style is applied

created 12 years ago

When using dxBar Components from a form in a Dll, an AV occurs when unloading the Dll.

Delphi
function CloseThemeData(hTheme: TdxTheme): HRESULT; begin Result := FThemeLibraryMethodPointersKeeper.FCloseThemeData(hTheme); end;

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

    created 12 years ago (modified 12 years ago)

    Hello,
    Most of our controls use the GDI+ Library. It seems that this problem is related to the incorrect initialization of this library.
    Please review the following reports, which contain helpful information:
    GDI+ problem in a COM library
    AV in DLL using dxRibbon
    Access Violation using TcxImageList in DLL (64-bit Windows)
    Note that the dxInitializeGDIPlus and dxFinalizeGDIPlus functions have been moved to the dxCore unit. They were renamed to dxInitialize and dxFinalize respectively.
    If this does not help you, please provide us with a sample project that illustrates this issue. We will test it and do our best to find an acceptable solution for you.

      Show previous comments (5)
      DevExpress Support Team 12 years ago

        Reproduced. Forwarded to developers for research.

          Any news about this issue ?
          I have the same problems - only on WinXP.

          DevExpress Support Team 11 years ago

            This problem is fixed in builds listed in the answer section of this ticket:
            • v2012 vol 1.9 / 4-Jul-2013
            • v2012 vol 2.6 / 22-May-2013
            • v2013 vol 1.1 / disabled

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.