Backport to Delphi 4

Freature requests from users for ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Post Reply
megaribi
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 02.11.2005, 23:35
Location: Sarajevo

Backport to Delphi 4

Post by megaribi »

Your ZeosLib DBO Version: 6.1.5
The IDE you are using: Delphi
Version (and maybe patchlevel) of the IDE:
The database you are using: Firebird
Version of the database: 1.5
Used protocol:
[hr]Error description and post

Maybe I am the last Delphi 4 user here, but until the advent of Turbo Delphi it was the only cheap Delphi with TDataSet component. Unfortunantelly Turbo Delphi is huge and hard to install because it requires Dot Net framework which failed on installation on all computers I tried until now.

I like Zeos, and I developed quick form builder DEDAFORGEN which generates database forms (normal and master detail) from Zeos Designer structure. But I had to stick to version 6.1.5 of ZEOS.

Does anybody know what is missing to Delphi 4 to be supported in ZEOS?
megaribi
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 02.11.2005, 23:35
Location: Sarajevo

And now I backported myself

Post by megaribi »

I managed ZEOS 6.6 to work on Delphi 4 now.

Well, after I added missing code until the components can be compiled, I had to solve many Access violation messages. After several hours of wondering why connection disappears and I got access violation, I looked at the code from 6.1.5 and found some repeated tricks in forcing living objects with reference counts if Delphi is version 4. I applied this trick, and I was able to compile my project under last version of Zeos components.

Still tested under Firebird only, but I applied this patch on all drivers.

So, the last 100 $ Delphi (until arrival of Turbo Delphi Explorer) with database suport can be again used with ZEOS.

As there is one backdoor which make it possible to install components in TurboDelphi Explorer, the next task is to add TurboDelphi Explorer support in ZEOS. :)
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi megaribi. Sounds MEGA.
Can you send us the patch? I don't promise D4 support, but we can always have a look at it. If it integrates without disturbing the other parts of the package... I don't see a problem.

Concerning TurboDelphi Explorer : does D2006 not work?

Mark
megaribi
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 02.11.2005, 23:35
Location: Sarajevo

Post by megaribi »

TurboDelphi Professional and Delphi 2006 follow the same procedure. But, TurboDelphi Explorer allows only installing components into dclusr.dpk if dclusr.dpk is in special format. This is one commercial trick to sell TurboDelphi Professional, because TurboDelphi Explorer is freeware.

But, I did it too. I installed TurboDelphi Explorer, and made it possible to install ZEOS in TurboDelphi Explorer.

I will send you the patched version of ZEOS DBO, which can be installed on Delphi 4 and Turbo Delphi Explorer in user contribution part.
Post Reply