Search found 12 matches
- Thu Feb 12, 2015 2:46 pm
- Forum: XLSReadWritwII 6
- Topic: COM Object
- Replies: 2
- Views: 2784
Re: COM Object
Hi Found the problem in: function TXLSMMUVectorManager.MemorySize: integer; changed: Result := Integer(PXVectHeader(FVector).OffsetToLastEq) + GetItemsBlockSize(TMMUPtr( LongWord (FVector) + PXVectHeader(FVector).OffsetToLastEq)); To Result := Integer(PXVectHeader(FVector).OffsetToLastEq) + GetItems...
- Thu Feb 12, 2015 2:21 pm
- Forum: XLSReadWritwII 6
- Topic: COM Object
- Replies: 2
- Views: 2784
COM Object
Hi because i still have problems with access violations when compiling 64 Bits i did some tests with simple app's using 64 Bits. They all work fine! So i wondered if the fact that i'm using it in a 64 Bits COM object could be the problem. Our 32 Bits COM server does not have these problems. Do you h...
- Tue Dec 23, 2014 11:55 am
- Forum: XLSReadWritwII 6
- Topic: Access Violation TXLSMMURebuildVector.WriteVector 64Bits
- Replies: 0
- Views: 2280
Access Violation TXLSMMURebuildVector.WriteVector 64Bits
Hi We get Access Violation compiling 64 bits in TXLSMMURebuildVector.WriteVector No problem in 32 bits if n > 0 then begin pVect^ := XVECT_EQCOUNT_EMPTY or n; Inc(pVect) end; Any idea what going On? I had it on: FSheet.AsString[FFirstColumn + 1, FCurrentRow] := ASettingValueA; as well as on ExcelObj...
- Mon Dec 01, 2014 3:45 pm
- Forum: XLSReadWritwII 6
- Topic: Wraptext and BorderTopStyle
- Replies: 1
- Views: 2151
Wraptext and BorderTopStyle
Hi Changed all old code to cmdFormat code except: R := FSheet.Range.Items[FFirstColumn + i, FCurrentRow, FFirstColumn + i, FCurrentRow]; R.WrapText := True; R.VertAlignment := cvaTop; R := FSheet.Range.Items[FFirstColumn + i, FCurrentRow, FFirstColumn + i, FCurrentRow]; R.BorderTopStyle := cbsThin; ...
- Fri Nov 28, 2014 12:13 pm
- Forum: XLSReadWritwII 6
- Topic: 64 Bits
- Replies: 7
- Views: 4798
Re: 64 Bits
Hi Found the problem :-) if (AApplyFormating) then begin ExcelObject.CmdFormat.Mode := xcfmMerge; ExcelObject.CmdFormat.BeginEdit(ExcelObject[0]); ExcelObject.CmdFormat.Fill.BackgroundColor.RGB := RGB(128, 128, 128); ExcelObject.CmdFormat.Font.Color.RGB := $FFFFFF; // Border color and style. ExcelOb...
- Fri Nov 28, 2014 11:49 am
- Forum: XLSReadWritwII 6
- Topic: 64 Bits
- Replies: 7
- Views: 4798
Re: 64 Bits
Hi
Hmm...
While making little demo i notice my problem is in the
ExcelObject[0].Cell[ part
Especially the [0]
I have a Simple demo working now.
What i need to know is with which value i need to replace my [0]
Eric
Hmm...
While making little demo i notice my problem is in the
ExcelObject[0].Cell[ part
Especially the [0]
I have a Simple demo working now.
What i need to know is with which value i need to replace my [0]
Eric
- Fri Nov 28, 2014 11:15 am
- Forum: XLSReadWritwII 6
- Topic: 64 Bits
- Replies: 7
- Views: 4798
Re: 64 Bits
Hi
When compiling SampleFormatCells
I get Undeclared Identifier ApplyCols
on XLS.CmdFormat.ApplyCols(1,5);
and
I get Undeclared Identifier ApplyRows
on XLS.CmdFormat.ApplyRows(1,5);
Eric
When compiling SampleFormatCells
I get Undeclared Identifier ApplyCols
on XLS.CmdFormat.ApplyCols(1,5);
and
I get Undeclared Identifier ApplyRows
on XLS.CmdFormat.ApplyRows(1,5);
Eric
- Fri Nov 28, 2014 11:12 am
- Forum: XLSReadWritwII 6
- Topic: 64 Bits
- Replies: 7
- Views: 4798
Re: 64 Bits
Hi
What do you mean with:
If I replace the missing variables in your sample with my guesses, it works fine with 64-bit.
Eric
What do you mean with:
If I replace the missing variables in your sample with my guesses, it works fine with 64-bit.
Eric
- Thu Nov 27, 2014 3:56 pm
- Forum: XLSReadWritwII 6
- Topic: 64 Bits
- Replies: 7
- Views: 4798
Re: 64 Bits
Hi Changed my code to procedure TExcelReportSheet.WriteHeader(const ATitles: array of String; const AApplyFormating: Boolean); var i: Integer; j: Integer; begin if (AApplyFormating) then Inc(FCurrentRow); FColumnCount := Length(ATitles); FHeaderRow := FCurrentRow; for i := Low(ATitles) to High(ATitl...
- Mon Nov 24, 2014 2:19 pm
- Forum: XLSReadWritwII 6
- Topic: 64 Bits
- Replies: 7
- Views: 4798
64 Bits
Hi This code works fine on 32 bits but results in an Index out of bounds when saving the file. R := FSheet.Range.Items[FFirstColumn, FCurrentRow, FFirstColumn + FColumnCount - 1, FCurrentRow]; R.FontColor := clWhite; R.FillPatternForeColor := RGB(128, 128, 128); // Beware Excel used BGR R.FontStyle ...
- Tue Jul 15, 2014 9:28 am
- Forum: XLSReadWritwII 6
- Topic: Delphi XE2 64 AV
- Replies: 1
- Views: 2033
Re: Delphi XE2 64 AV
Hi Found the problem! I have FastMM in the project that fails: 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 som...
- Tue Jul 15, 2014 7:52 am
- Forum: XLSReadWritwII 6
- Topic: Delphi XE2 64 AV
- Replies: 1
- Views: 2033
Delphi XE2 64 AV
Hi When using 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 s...