Forum
× Lab CT Version, news, test results, new features request and suggestions

Question CT LAB ver 6.90

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 2 days ago #13701 by Klaus Riesterer
Replied by Klaus Riesterer on topic CT LAB ver 6.90
Sorry, this is a misunderstanding ...
I did not use cuda text but the error is the same.
But its correct that cuda text is cross platform.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 1 day ago #13703 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 6.90
Please give us more source details to help you

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 1 day ago - 1 week 1 day ago #13704 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 6.90

fredvs wrote: Hello Sternas.

> The first approach mseide-msegui Lib as CT package,
> 80% it's OK with some modifications.

Wow, I am very excited to see this.

> We are working on this,
> please give us time...

Absolutely no worry, the excellent news is that msegui is not forgotten.

About the compatibility with fpc >= 3.3.1 rev 42375, I have to confess that, even with the explanation of Sven, I did not catch how to fix it.

Fre;D


msegui "Kernel, container, graphics, widgets" are OK
next step is to try building the apps\idemseide


PilotLogic Architect and Core Programmer
Attachments:
Last edit: 1 week 1 day ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 1 day ago #13706 by Klaus Riesterer
Replied by Klaus Riesterer on topic CT LAB ver 6.90
Hallo Sternas,

since 6.90 every time I call F.Modal the error 'GetOrCreateWidgetInfo: MainWidget info was created causing a memory leak' occurs.
This is in many different parts of my project. in this case there is only one Panel on the form.
function ListeAdresse(var A: TAdresse): boolean;
var
  F: TAdressAuswahl;
begin
  try
    AdressListe.ReadAll;
    F := TAdressAuswahl.Create(nil);
    F.ShowModal;

    if F.Liste.HasInfo then
    begin
      A := F.Liste.Adresse;
      Result := F.Liste.HasInfo;
    end;

  finally
    FreeAndNil(F);
  end;     

I'll try again with debugger to localize the problem a little more.

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago - 1 week 1 day ago #13709 by Matis A.
Replied by Matis A. on topic CT LAB ver 6.90
Please try this
function ListeAdresse(var A: TAdresse): boolean;
var
  F: TAdressAuswahl;
begin
  try
    AdressListe.ReadAll;
   // F := TAdressAuswahl.Create(nil);
    Application.CreateForm(TAdressAuswahl, F);
    F.ShowModal;

    if F.Liste.HasInfo then
    begin
      A := F.Liste.Adresse;
      Result := F.Liste.HasInfo;
    end;

  finally
     FreeAndNil(F);
  end;

PilotLogic Core Programmer
Last edit: 1 week 1 day ago by Matis A..

Please Log in or Create an account to join the conversation.

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 1 day ago #13710 by Klaus Riesterer
Replied by Klaus Riesterer on topic CT LAB ver 6.90
As expected the program crashes.

Again: my program works with 6.80 without this problem!
Attachments:

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #13711 by fredvs
Replied by fredvs on topic CT LAB ver 6.90
Hello Sternas.

> next step is to try building the apps\idemseide

Normally you should not have problems to build mseide, even with fpc rev > 42375.

But, like (tried) to explain in fpc mailing list, the compilation will be ok but some feature of mseide will not work.
It is about the "new" implementation of RTTI of fpc.

Good luck + courage.

Fre;D

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #13712 by fredvs
Replied by fredvs on topic CT LAB ver 6.90
> As expected the program crashes.
> Again: my program works with 6.80 without this problem!

Hello.
Huh, sorry to disturb here, but, imho, it has something to do with new implementation of RTTI (from fpc rev 42375).

Fre;D

Please Log in or Create an account to join the conversation.

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 1 day ago - 1 week 1 day ago #13713 by Klaus Riesterer
Replied by Klaus Riesterer on topic CT LAB ver 6.90
Further information:
I tested my project now using FPC 3.0.4 and Lazarus 2.0.4 form todays SVN (fpcupdeluxe) and there all is OK.
svn.freepascal.org/svn/fpc/tags/release_3_0_4
svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_4
(I did not test the ZEOS-problem I have, because it is in another big project)

Now when I installed Lazarus I love CT even more :-)
I like CT as it easy installs and the window handling is much better than in lazarus. (When I open my project there are around 20 open windows in the tray)
Installing Lazarus is a hassle, also with the great tool fpcupdeluxe. :-(
Last edit: 1 week 1 day ago by Klaus Riesterer.

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #13714 by fredvs
Replied by fredvs on topic CT LAB ver 6.90
> Further information:
> I tested my project now using FPC 3.0.4 and Lazarus 2.0.4 and there all is OK.

Could you test this: compile your app with fpc rev 42375 (click on "Download" and compile fpc):
github.com/graemeg/freepascal/tree/c85be...35ab92955ce1488f79eb

And compare with the rev 42374 just before:
github.com/graemeg/freepascal/tree/b51ed...fea3c879ae842852de65


It is possible that your app will work with rev 42374 and not 42375.
If so, we will already know where is the problem.

Fre;D

Please Log in or Create an account to join the conversation.

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 1 day ago #13715 by Klaus Riesterer
Replied by Klaus Riesterer on topic CT LAB ver 6.90
I did not know how to compile that as I never did that :-(
My Lazarus and fpc is installed in ~/Lazarus
I downloaded and extracted both zips now ...

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago - 1 week 1 day ago #13717 by fredvs
Replied by fredvs on topic CT LAB ver 6.90
> I did not know how to compile that as I never did that

First, download the 2 versions of fpc from the link in previous post.
Then, unzip the first one somewhere, example /home/me/freepascal

I use then a script to compile + install fpc (check the directories according to yours):

#!/bin/sh 

cd /home/me/freepascal

TARGET_VER=3.3.1 
TARGET=x86_64-linux 
COMPILER=/usr/lib/fpc/3.0.4/ppcx64

make all FPC=$COMPILER OPT="-Fl/usr/local/lib" 
make install INSTALL_PREFIX=/home/me/freepascal/fpc/$TARGET_VER

This will compile + install fpc.

Try to compile your application with that fpc and see if ok (or not).

Do the same things for the second rev of fpc.

Fre;D
Last edit: 1 week 1 day ago by fredvs.

Please Log in or Create an account to join the conversation.

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 1 day ago - 1 week 1 day ago #13718 by Klaus Riesterer
Replied by Klaus Riesterer on topic CT LAB ver 6.90
Get errors on compiling the fpc source. I will try again later.

But I found out the following until now:
CT 6.80 FPC Rev 41903 - no problem
LAZARUS FPC Rev 42374 - no problem
CT 6.90 FPC Rev 42912 - problem exists

So the error is not between 42374 and 42375 I think. Must be in a really newer release after 42374 !
Last edit: 1 week 1 day ago by Klaus Riesterer.

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #13720 by Matis A.
Replied by Matis A. on topic CT LAB ver 6.90
Has TAdressAuswahl code in Show or Shomondal procedures ?

PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 1 day ago - 1 week 1 day ago #13722 by Klaus Riesterer
Replied by Klaus Riesterer on topic CT LAB ver 6.90
No.
Attachments:
Last edit: 1 week 1 day ago by Klaus Riesterer.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 1 day ago - 1 week 1 day ago #13723 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 6.90
Try
to fuadressauswahl.pas
{ Form erstellen }
procedure TAdressAuswahl.FormCreate(Sender: TObject);
begin
  //SetFrames;
end;

and to fruadressliste.pas
procedure TfrAdressliste.dgAdresseSelectCell(Sender: TObject; aCol, aRow: integer; var CanSelect: boolean);
begin
  //Dummy für Setfocus
end;

procedure TfrAdressliste.FrameResize(Sender: TObject);
begin
 // InitGridAdresse;
end;

PilotLogic Architect and Core Programmer
Last edit: 1 week 1 day ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #13724 by fredvs
Replied by fredvs on topic CT LAB ver 6.90

Get errors on compiling the fpc source. I will try again later.

But I found out the following until now:
CT 6.80 FPC Rev 41903 - no problem
LAZARUS FPC Rev 42374 - no problem
CT 6.90 FPC Rev 42912 - problem exists

So the error is not between 42374 and 42375 I think. Must be in a really newer release after 42374 !


Yes, it is exactly that way I used to debug mseide.
I did use CT 6.80 and his fpc ---> no problems.
But after upgrading CT 6.80 with CoteTyphon utility, there was problems.

So the (very boring) work was to download commit from the last fpc ok (the one from CT 6.80 official), compile the new commit, try it, until the no working appears.
For me it was fpc rev 42375.

Fre;D

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 1 day ago #13725 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 6.90
Forms with out functionality working ok


PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 1 day ago - 1 week 1 day ago #13726 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 6.90

fredvs wrote:

Get errors on compiling the fpc source. I will try again later.

But I found out the following until now:
CT 6.80 FPC Rev 41903 - no problem
LAZARUS FPC Rev 42374 - no problem
CT 6.90 FPC Rev 42912 - problem exists

So the error is not between 42374 and 42375 I think. Must be in a really newer release after 42374 !


Yes, it is exactly that way I used to debug mseide.
I did use CT 6.80 and his fpc ---> no problems.
But after upgrading CT 6.80 with CoteTyphon utility, there was problems.

So the (very boring) work was to download commit from the last fpc ok (the one from CT 6.80 official), compile the new commit, try it, until the no working appears.
For me it was fpc rev 42375.

Fre;D


We test 1800 project without problem
we can't rollback rev 42375 it's in FPC RTTI functionality
So, we must find a solution

PilotLogic Architect and Core Programmer
Last edit: 1 week 1 day ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago - 1 week 1 day ago #13727 by fredvs
Replied by fredvs on topic CT LAB ver 6.90

So the error is not between 42374 and 42375 I think. Must be in a really newer release after 42374 !


I am talking about the rev numbers used by fpc official svn (not the same that use CT or Lazarus).

Fe;D
Last edit: 1 week 1 day ago by fredvs.

Please Log in or Create an account to join the conversation.