Bug Report Q455027
Visible to All Users

TcxButton - In Windows XP, an AV occurs when setting the Kind property to cxbkCommandLink if the Assertions compiler option is turned off in project settings

created 12 years ago

cxbkCommandLink does not work in Windows XP / Delphi XE IDE. There is an AV reported in the IDE when Kind is set to cxbkCommandLink.

Access violation at address 00000000. Read of adress 00000000

[21772A27]{vclactnband150.bpl} ActnMenus.CallWindowHook (Line 744, "ActnMenus.pas" + 20) + $F
[107E307A]{cxEditorsRS15.bpl} Cxbuttons.TcxCustomButton.GetPainter + $6
[103E8A8C]{cxLibraryRS15.bpl} Cxlookandfeelpainters.TcxWinXPLookAndFeelPainter.DrawCommandLinkBackground + $80
[107E307A]{cxEditorsRS15.bpl} Cxbuttons.TcxCustomButton.GetPainter + $6
[107E53C3]{cxEditorsRS15.bpl} Cxbuttons.TcxButtonViewInfo.InternalDrawButton + $43
[107E4E0E]{cxEditorsRS15.bpl} Cxbuttons.TcxButtonViewInfo.DrawBackground + $22
[107E4D9D]{cxEditorsRS15.bpl} Cxbuttons.TcxButtonViewInfo.Draw + $49
[107E40A4]{cxEditorsRS15.bpl} Cxbuttons.TcxCustomButton.Notification + $124
[107E420E]{cxEditorsRS15.bpl} Cxbuttons.TcxCustomButton.DrawItem + $D6
[107E47A9]{cxEditorsRS15.bpl} Cxbuttons.TcxCustomButton.CNDrawItem + $9
[5027DF6C]{vcl150.bpl } Controls.TControl.WndProc (Line 7074, "Controls.pas" + 91) + $6
[50281ED0]{vcl150.bpl } Controls.TWinControl.MainWndProc (Line 9552, "Controls.pas" + 3) + $6
[50281EE5]{vcl150.bpl } Controls.TWinControl.MainWndProc (Line 9555, "Controls.pas" + 6) + $0
[500AFA64]{rtl150.bpl } Classes.StdWndProc (Line 13491, "Classes.pas" + 8) + $0

Comments (3)
DevExpress Support Team 12 years ago

    I have managed to reproduce this problem. I am forwarding this issue to our developers for further processing.
    You will receive an automatic message once the status of this issue is changed.

      Someone changed the subject of this issue. I don't know what Assertions have to do with this issue. The AV occurs in the IDE. Assertions are turned on.

      DevExpress Support Team 12 years ago

        Hello,
        Thank you for your feedback. The subject of this issue is changed according to our assumption about the cause of the problem. We have recently published a fix for this issue that should help (at least I hope so). Would you please test it on your side? I am looking forward to your feedback in any case.
        We appreciate your understanding.

        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.