Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1414

  • Alexandros Ntermaris
  • Alexandros Ntermaris's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
I tried a sample project using on form and a Floatspinedit ancord left , right and top.
the program crashes and the log :

TApplication.HandleException TWinControl.WMMove loop detected: FloatSpinEdit1:TFloatSpinEdit BoundsRealized=l=22,t=10,r=194,b=29 NewBoundsRealized=l=181,t=10,r=353,b=29
Stack trace:
$001230DC
$00122ECC
$0001B6F4
$0011FB88
$0016B854
$000F3310
$00175B1C
$9054D804
$00022F4C
Attachments:

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

Last edit: by Alexandros Ntermaris.

Re: WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1415

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
I make a new test application and working ok
please test and report.

(Απο τους λιγους Ελληνες που βλεπω το Forum...)
PilotLogic Architect and Core Programmer
Attachments:
The following user(s) said Thank You: Alexandros Ntermaris

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

Last edit: by Sternas Stefanos.

Re: WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1417

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Μπορεί να είμαστε περισσότεροι απο ότι δείχνουμε ;)

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

Re: WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1418

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Πολυ καλο αυτο
γιατι θα χρειαστουμε πολυ βοηθεια... :)
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Konstantinos Papadoulas

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

Re: WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1437

  • Alexandros Ntermaris
  • Alexandros Ntermaris's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Good Morning
If on the test open the right anchor to the spinedit the crashes....
on the test i send you can see it and i have the compiled for arm wince and the debug log.
I see that the spin edit changed from version 9.28 where it was working fine.....

Καλημερα και απο εμας εδω στα κρυα και βροχερα Γιαννενα. H Lazarus μαζι με το BDS2007 ειναι τα βασικά εργαλεία ανάπτυξης στην εταιρεία μας....... Φυσικά και θα βοηθήσουμε την κατασταση........
Αλέκος Ντερμάρης www.iqsoft.gr

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

Re: WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1438

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
from version 9.28 to 9.31 SVN
and freepascal 2.7.1, many things are new

We working on your sample now...
PilotLogic Architect and Core Programmer

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

Re: WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1439

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Αλέκο, we test your sample without problem
CodeTyphon 2.40 lab (emulator WinCE 6.5.3)
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: xcod

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

Last edit: by Sternas Stefanos.

Re: WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1440

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
I have finished with a couple of tests here with Αλέκος program. Here are my results:

1. I have downloaded the provided project1.exe directly to my Omnia2 (WM 6.5) phone and i got errors for the message loop of the TSpinEdit.
2. I have lunched my CT 2.30 installation and RECOMPILED Αλέκος program. Downloaded to my Omnia2 and EVERYTHING worked perfect.
3. I did the same as above BUT including an .rc file for having the resolution of the program adjusted. The .rc files has one and
only directive: HI_RES_AWARE CEUX {1}. Also the program worked perfect.

The only thing i noticed is that the Lazarus IDE shows the following error: Compiler "c:\codetyphon\fpc\bin\i386-win32\fpc.exe" does not support
target arm-wince. But apart from that everything went ok.

Kostas

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

Re: WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1441

  • Miquel Matas
  • Miquel Matas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 121
  • Thank you received: 10
Sternas,

Please, which is expected release date for 2.40?

Thank you!

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

Re: WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1442

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir, we are waiting to finish Lazarus SVN activity...
The main items of ver 2.40 are ready,
also we use SVN code for both Freepascal (with lot of MODs for Solaris OS) and Lazarus

Give us some days...for release
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Miquel Matas

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

Last edit: by Sternas Stefanos.

Re: WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1443

  • Miquel Matas
  • Miquel Matas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 121
  • Thank you received: 10
Of course!

Thank you!

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

Re: WinCE crash on resize FloatSpinEdit 12 years 11 months ago #1444

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
And a photo from the new version of CentOS 6.1 test
PilotLogic Architect and Core Programmer
Attachments:
The following user(s) said Thank You: Konstantinos Papadoulas, xcod

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

Re: WinCE crash on resize FloatSpinEdit 12 years 10 months ago #1496

  • Alexandros Ntermaris
  • Alexandros Ntermaris's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Hi Kostas.
I want to ask some things because i am fully confuzed.... :S
You recompile thesample i send without changing the Right Anchor fron the floatspinedit and compiled ok????
I focused that the message loop error comes when i try to put the right anchor to the float spin edit. Also spin edit have the same problem.
I tried and Sternas sample test which works ok but it has NOT the right anchor........
Can you send your copy to see it and the compiled if possible to see if there is a copilation issue whith the options i use....
I tried all these with codetyphon 2.4
Thanks for your time
Alekos

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

Last edit: by Alexandros Ntermaris.

Re: WinCE crash on resize FloatSpinEdit 12 years 10 months ago #1497

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Kalimera Aleko,

I have tested your program with the Right Anchor set and indeed i got 3 - 4 error messages from the LCL complaining about
the message loops some windows messages concerning the change of position of the control. After all these message though it
worked correctly.

I also made a change in your program. Instead of applying the Right Anchor in Design time i have placed a button on the main
form and applied the Right Anchor during Runtime. It had the same result of error messages.

And there might be ANOTHER bug.... Setting in runtime the WIDTH of both the controls, they are also changing their LEFT property!!!
Instead of just grow, they MOVE too!

So Alekos, sorry for not testing your program properly the last time i wrote in this forum thread. I have attached the project and
the lcldebug.log that has been generated on my Omnia 2.

Kostas
Attachments:
The following user(s) said Thank You: Alexandros Ntermaris

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

Last edit: by Konstantinos Papadoulas. Reason: Added the .zip file

Re: WinCE crash on resize FloatSpinEdit 12 years 10 months ago #1498

  • Alexandros Ntermaris
  • Alexandros Ntermaris's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Kalhspera Kosta
Thanks for your review.
I search this issue in the source of LCL and found that there must be a missing implementation in the spinedit and floatspinedit using the auto in the resize procedure.I will try to see if i can fix it but it loks hard. i have to study all the design of the TWinControl.WMMove and TWinControl.WMSize procedures... :S
I made long time ago a bugtracker ticket to the lazarus mantis but they still have it pending.
The only version that this works and we use it on our company is 0.9.28 from the official site of lazarus. This has a comlete different dsign at wincontrol......
Thanks for everything.
Alekos

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

  • Page:
  • 1