Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

AV at design time with popup-menu when compiled with optimization on

edited January 2005 in End User
D6 and RB Enterprise 9.01. Create a new app, place on the form a TppReport
and a TppDesigner. Link the designer to the report. Add a button with
rdsgDesigner.ShowModal; as OnClick. Build this app with optimization on.
Execute the app. Add a TppLabel and do a right click on it. Have an AV in
TppPopupMenu.UpdateBooleanItemCheckedState;

This does not occur when the app is compiles with optimization OFF.

Can anybody verify this?

TIA
Bernd

Comments

  • edited January 2005

    For my Delphni 6 installation, compiling with Optimization on is the
    default. I perform the test you describe and did not encounter any errors.

    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2005
    Yes, this is what I feared will happen. Any idea, why an AV in the popup
    will occur? I recall that with RB 9 something in the registering of popups
    was changed? Maybe some third party component does interfere?

    Bernd

  • edited January 2005

    For an example of the new architecture, see RBuilder\Demos\RCL. The new
    myChkboxDesign.pas unit contains the popup menus and design controls
    required to support the sample check box. These are registered in the
    intialization section at the bottom.



    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.