Recent

Poll

Is it worth to port these components, would you like to use it?

Yes sure, I've been waiting for that, I will use them.
2 (28.6%)
Yes it is good to have them in Lazarus, but I will not use it.
4 (57.1%)
No alternatives enough. (Firebird, Sqlite, TDbf, ..)
1 (14.3%)
They do not  interest me.
0 (0%)

Total Members Voted: 7

Voting closed: April 11, 2017, 06:58:11 pm

Author Topic: Turbo Power Flashfiler Lazarus Port  (Read 42736 times)

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: Turbo Power Flashfiler Lazarus Port
« Reply #15 on: June 21, 2017, 09:05:58 am »
I'm a Linux user. :'(

kapibara

  • Hero Member
  • *****
  • Posts: 610
Re: Turbo Power Flashfiler Lazarus Port
« Reply #16 on: June 21, 2017, 09:29:08 am »
Maybe it is just a few types that need to be changed. Lets see what Soner says. :)
« Last Edit: June 21, 2017, 09:36:52 am by kapibara »
Lazarus trunk / fpc 3.2.2 / Kubuntu 22.04 - 64 bit

wp

  • Hero Member
  • *****
  • Posts: 11830
Re: Turbo Power Flashfiler Lazarus Port
« Reply #17 on: June 21, 2017, 10:10:22 am »
@Handoko Added it with the name 'TurboPower FlashFiler'. Supported platforms: Win32/Win64.
Added to what?

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: Turbo Power Flashfiler Lazarus Port
« Reply #18 on: June 21, 2017, 10:16:36 am »
The information how TurboPower FlashFiler compare to others in this wiki page:
http://wiki.freepascal.org/Databases#Supported_databases

SunyD

  • Guest
Re: Turbo Power Flashfiler Lazarus Port
« Reply #19 on: June 21, 2017, 12:11:23 pm »
I can not port them to Linux, at least not now.
I don't now if this component is good, it is to much delphi centric.
I am thinking to create client server database component for SQLDb components. With only one new Connectiontype (like TSQLite3Connection or TIBConnection), we had client server  database components.  For this I want use SQLite.

@Handoko
Use Sqldb components. I think ist Sqldb more suitable for you and the new developers. Flashfiler is for people who developed database applications with delphi in the nineties.

wp

  • Hero Member
  • *****
  • Posts: 11830
Re: Turbo Power Flashfiler Lazarus Port
« Reply #20 on: June 21, 2017, 12:38:13 pm »
Soner A., I cannot compile the designtime package on Windows (Laz trunk, fpc 3.02): "lazff2_dt.pas(10,3) Fatal: Cannot find ffabout used by lazff2_dt. Check search path of package lazff2_dt, try a clean rebuild, check implementation uses sections.." This reminds me of the issues I had with tvplanit which ended up in putting runtime and designtime code units as well as compiled units into separate directories.

SunyD

  • Guest
Re: Turbo Power Flashfiler Lazarus Port
« Reply #21 on: June 21, 2017, 12:59:55 pm »
@wp
add the path "..\source" to OtherUnitFiles. I removed it to avoid of "douple path" warning from the compiler. I wanted move packages to source folder but forget it.
sorry, i upload it again.

wp

  • Hero Member
  • *****
  • Posts: 11830
Re: Turbo Power Flashfiler Lazarus Port
« Reply #22 on: June 21, 2017, 01:15:36 pm »
No good solution. Now, trying to "install" the designtime package, during building of the IDE, I now get "ffllexcp.pas(40,3) Fatal: Cannot find ffsrmgr used by ffllexcp, incompatible ppu=D:\Prog_Lazarus\svn\lazarus-ccr\components\flashfiler\packages\lib\i386-win32\ffsrmgr.ppu, package lazff2". This happens usually when packages have access to the sources of other packages. I can't get rid of it even with a clean rebuild of the IDE.

I did try to separate run and designtime units into their own folders, but failed because there are so many units, and I don't know which ones are real design units.

SunyD

  • Guest
Re: Turbo Power Flashfiler Lazarus Port
« Reply #23 on: June 21, 2017, 01:22:13 pm »
No good solution. Now, trying to "install" the designtime package, during building of the IDE, I now get "ffllexcp.pas(40,3) Fatal: Cannot find ffsrmgr used by ffllexcp, incompatible ppu=D:\Prog_Lazarus\svn\lazarus-ccr\components\flashfiler\packages\lib\i386-win32\ffsrmgr.ppu, package lazff2". This happens usually when packages have access to the sources of other packages. I can't get rid of it even with a clean rebuild of the IDE.

I did try to separate run and designtime units into their own folders, but failed because there are so many units, and I don't know which ones are real design units.
I moved the packages in the source folder and upload it .
I don't know why this compile error happens. Maybe wrong order of units. When this happens open the runtime package and compile firts runtime package and then designtime package again.

SunyD

  • Guest
Re: Turbo Power Flashfiler Lazarus Port
« Reply #24 on: June 21, 2017, 01:31:58 pm »
Also you can delete it from lazarus-ccr.
This component is not suited new user, because they can need some additional work and bugs.
I am the only one that tested this components.
The user can post his corrections and bug report here in this topic.

SunyD

  • Guest
Re: Turbo Power Flashfiler Lazarus Port
« Reply #25 on: June 21, 2017, 01:56:04 pm »
New download links with solved package error on wiki page.
Still windows only and tested only with windows 7, lazarus and fpc  32bit.

wp

  • Hero Member
  • *****
  • Posts: 11830
Re: Turbo Power Flashfiler Lazarus Port
« Reply #26 on: June 21, 2017, 02:20:31 pm »
Strange. It does not install either. Am I the only one having this issue?

As requested I removed the flashfiler folder from ccr.

SunyD

  • Guest
Re: Turbo Power Flashfiler Lazarus Port
« Reply #27 on: June 21, 2017, 02:30:06 pm »
Strange. It does not install either. Am I the only one having this issue?

As requested I removed the flashfiler folder from ccr.
Still install error?
Make this:
1) compile runtime package
2) compile and select install designtime package
3) rebuild lazarus
It should rebuild lazarus without error.
When the "not found" error happens then open runtime package and reubild lazarus.
It works for me every time.
This error happens rare and often when you edit package or compenent files.

wp

  • Hero Member
  • *****
  • Posts: 11830
Re: Turbo Power Flashfiler Lazarus Port
« Reply #28 on: June 21, 2017, 02:40:57 pm »
Yes, having the designtime package open and starting rebuilding Lazarus from its "Install" fixes it. Looks very fragile, though...

ozznixon

  • Full Member
  • ***
  • Posts: 119
    • http://www.modernpascal.com/
Re: Turbo Power Flashfiler Lazarus Port
« Reply #29 on: December 19, 2017, 09:44:10 pm »
So has anyone been able to simply compile the ffdb.pas - I am in the process of making it work on Mac and Linux - however, a couple routines make me raise an eyebrow if I am guessing the correct replacement. (After getting it to work in FPC, I don't use Laz).

Ozz
« Last Edit: December 19, 2017, 09:47:57 pm by ozznixon »
---
Want to kick the tires to a Free Pascal like script engine? http://www.ModernPascal.com/

 

TinyPortal © 2005-2018