2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

BDE Decision Cube ComponentsをDelphi2007で使用

Posted at

BDE Decision Cube ComponentsをDelphi2007で使用

Delphi ver7に存在した、BDEのDecision Cube Componentsが、Delphi2007のコンポーネントパレット上から消えている。
ソースは消されていないので、そこから、パレットに復元する方法です。

復元方法

ソースは、($BDS)\source\Win32\xtab にある。
上記ホルダにあるプロジェクトファイルを使って再構築するば良いのでだが、エラーが出る。
参照パッケージの追加が必要なようで、”参照の追加”で、dclbde.dcp の追加が必要なようである。
追加後、再構築すればOK。

バグ(?)修正

データの値によってオーバーフローするので下記の修正を行っておくことをお勧めする。

//  procedure SetMemoryCapacity(Value: Integer);
  procedure SetMemoryCapacity(Value: Int64);
//  function GetMemoryCapacity: Integer;
  function GetMemoryCapacity: Int64;
~~~~
var
//  AvailableMemory: Integer;    { Memory available to allocate }  
  AvailableMemory: Int64;       { Memory available to allocate }
// TotalAllocatedMemory: Integer;  { Total allaocted by the array classes }
  TotalAllocatedMemory: Int64;  { Total allaocted by the array classes }

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?