When using dxBar Components from a form in a Dll, an AV occurs when unloading the Dll.
Delphifunction CloseThemeData(hTheme: TdxTheme): HRESULT;
begin
Result := FThemeLibraryMethodPointersKeeper.FCloseThemeData(hTheme);
end;
When using dxBar Components from a form in a Dll, an AV occurs when unloading the Dll.
Delphifunction CloseThemeData(hTheme: TdxTheme): HRESULT;
begin
Result := FThemeLibraryMethodPointersKeeper.FCloseThemeData(hTheme);
end;
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.
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.
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.