Delphi XE2 64 AV

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
etwoss
Posts: 12
Joined: Tue Jul 15, 2014 7:50 am

Delphi XE2 64 AV

Post by etwoss »

Hi

When using

Code: Select all

var
  R: TXLSRange;

begin
    R := FSheet.Range.Items[FFirstColumn, FCurrentRow, FFirstColumn, FCurrentRow];
    R.FontName := 'Calibri';
I get an access violation running after compiling in Win64, not in Win32, just in 1 IntrawebApplication.
I removed all dcu's, let Delphi rebuild them, still same error
Its ok with a normal Delphi 64 bits exe.

Even when i rename the 64bits dcu folder , and all dcu's are rebuild, i get the AV

FSheet is TXLSWorksheet and Assigned

Any idea?

Eric
etwoss
Posts: 12
Joined: Tue Jul 15, 2014 7:50 am

Re: Delphi XE2 64 AV

Post by etwoss »

Hi

Found the problem!

I have FastMM in the project that fails:

Code: Select all

uses
{$IFDEF DEBUG}
  FastMM4 in '..\Shared\ThirdParty\FastMM\FastMM4.pas',
  FastMM4Messages in '..\Shared\ThirdParty\FastMM\FastMM4Messages.pas',
{$ENDIF}
If i comment this , the 64bits version works.
I think this can mean you may have some problem there.

Eric
Post Reply