Bug Report T218528
Visible to All Users

The "Integer Overflow" exception occurs on displaying a Customization Form for a layout control, a grid's Layout View, or a grid's in-place Edit Form in certain cases

created 10 years ago

[DevExpress Support Team: CLONED FROM T206728: Setting a TcxGridDBLayoutView's Controller.Customization to True trows an Integer Overflow]
Paulo,
I understand your problem. I managed to create a smaller test program without any link to third party libraries (I hope).
I found something interesting though : If I build the project by putting all DCU files in a DCU folder (located in the project's directory), I have the problem. If, in my project properties (Menu Project -> Options -> Delphi Compiler), I remove the path in "Unit output directory", then it works !
I have no idea why !!
Here's the small project (attached file). Run it (Cameleon.exe), then select "DevExpress -> Layout Bug Test" from the menu and click the "Customize" button.
Now, if you want to compile it, make sure to change the path for the DCU. Compile with and without putting the DCUs in the DCU folder. Run the program with each settings and see if you encounter the problem (Integer Overflow).

Answers approved by DevExpress Support

created 10 years ago (modified 10 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.

    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.