Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Recompile dbserver to avoid memory errors... (SOS)
Thu, Dec 4 2008 7:34 AMPermanent Link

durumdara
Dear DBISAM gurus!

I asked about memory tables and out of memory errors previously in General forum.
Yesterday we bought the sources of the 3.30. Prev. we have 3.24.1 of DBISAM.

The questions:

1.) Is version 3.30 server compatible with 3.24 databases?

2.) Which differents are between 3.30 and 3.24? Can I replace (upgrade) DBISAM components
in our (180) programs  without any problems?

3.) I got interesting compilation errors (Delphi 6 Professional), when I try to compile
FULL source.
Three types of them.
a.) @Buffer{Char, needed PChar} - I replace it to "Buffer". Because  normal char array
useable as PChar as  I know.
b.) @CallBackProc {typed procedure, needed pointer} - I replace it to
"Pointer(@CallBackProc)".
c.) @Blobhandle (integer, needed PChar) - I replace it to "PChar(@BlobHandle)".
I wanna ask that these replaces are valid?

4.) When I tried to use only DCU-s, I can compile the dbserver exe without these errors.
I can compile it with fastmm4 too.

BUT: as I see, this uses runtime package (dd330*.bpl), which is a precompiled thing (DLL
like thing).
If I thinking good about it that bpl is uses it's owned memory manager, not fastmm.
How to I force to use fastmm when I compile this runtime package?

Is this good?

   package db330d6r;

   {$R *.res}
   ....
   {$IMPLICITBUILD OFF}

   requires
     vcl,
     vcldb;

   contains
     fastmm4 in 'fastmm4.pas',
     dbisamsq in 'dbisamsq.pas',
     dbisamen in 'dbisamen.pas',
     dbisamlb in 'dbisamlb.pas',
     zlibpas in 'zlibpas.pas',
     zlibcomp in 'zlibcomp.pas',
     Dbisamcn in 'dbisamcn.pas',
     DBISAMTb in 'DBISAMTb.pas',
     DBISAMPw in 'Dbisampw.pas' {DBISAMPasswordDialog};

   end.


Thanks for your quick help:
  dd
Thu, Dec 4 2008 3:27 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< I asked about memory tables and out of memory errors previously in
General forum. Yesterday we bought the sources of the 3.30. Prev. we have
3.24.1 of DBISAM. >>

Please see my reply via email regarding these issues (compiler settings).

--
Tim Young
Elevate Software
www.elevatesoft.com

Image