Bug Report T133954
Visible to All Users

"List index out of bounds" exception occurs when loading XLS file in 64 bit version

created 11 years ago (modified 11 years ago)

Hi

easy to reproduce error case. Just story an empty XLS (not XLSX) and try to open it
x86 works but x64 raises an exception

Delphi
procedure TForm1.Button1Click(Sender: TObject); var   oExcel: TdxSpreadSheet; begin   oExcel:= TdxSpreadSheet.Create(nil);   try     // fails for x64 with "list out of bounds" but works with x86     oExcel.LoadFromFile('t:\test\Book1.xls'); // just an empty Excel sheet   finally     oExcel.Free;   end; end;
Comments (3)
DevExpress Support Team 11 years ago

    Hello Tom,

    Thank you for your report. I have reproduced the described behavior and forwarded this ticket to our developers for research.

      Thank you.
      BTW: would be great to get rid of the inline warnings for that next built by adding system.types to the uses clause
      [dcc32 Hint] dxSpreadSheetContainerCustomizationDialog.pas(691):
      H2443 Inline function '…' has not been expanded because unit 'System.Types' is not specified in USES list
      about 10 similar warnings when compiling the new spreadsheet component with inline on.

      DevExpress Support Team 11 years ago

        Hello,

        To process your recent post more efficiently, I created a separate ticket on your behalf: T134681: Would be great to get rid of the inline warnings for that next built by adding system.types to the uses clause. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

        I kindly ask that you open a separate ticket for each of your separate question or report. Thanks in advance.

        Answers approved by DevExpress Support

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