Access Violation when using Delphi compiler-option "stack frames"
Hello,
in the last days we have changed our projects from RB 7.04 to RB 9.01.
But now everytime we get an AV by pressing the right-mouse-button over
any component in the designer (e.g. TppLabel) to show the popup-menu.
We have found that the AV occurs in the "UpdateBooleanItemCheckedState"
method of TppPopupMenu (which was called from the DoPopup-method)
and only if we recompile the RB Source-Code, but if we use the recompiled
packages everything works fine! The problem is, that we must use the source-
code because we have to do some little changes there. (this bug occurs even
with your "clean" source-code, so this have nothing to do with our changes
;-) ...)
After a while of debugging we found, that this bug only occurs if the
compiler
option "stack frames" is turned on, but we need this option for debugging
purposes.
Is this a know problem ? Are there any patches or have we make any mistakes
?
Please help !
BTW: we use Delphi 7.1
Best Regards
Jens
in the last days we have changed our projects from RB 7.04 to RB 9.01.
But now everytime we get an AV by pressing the right-mouse-button over
any component in the designer (e.g. TppLabel) to show the popup-menu.
We have found that the AV occurs in the "UpdateBooleanItemCheckedState"
method of TppPopupMenu (which was called from the DoPopup-method)
and only if we recompile the RB Source-Code, but if we use the recompiled
packages everything works fine! The problem is, that we must use the source-
code because we have to do some little changes there. (this bug occurs even
with your "clean" source-code, so this have nothing to do with our changes
;-) ...)
After a while of debugging we found, that this bug only occurs if the
compiler
option "stack frames" is turned on, but we need this option for debugging
purposes.
Is this a know problem ? Are there any patches or have we make any mistakes
?
Please help !
BTW: we use Delphi 7.1
Best Regards
Jens
This discussion has been closed.
Comments
Thanks for reporting this issue. There is now a patch available for RB 9.01.
Registered users of RB 9.01, can email support@digital-metaphors.com and
request the patch.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com