Welcome, Guest
Username: Password: Remember me
CodeTyphon Platforms (Win32/64, GTK2/3/4, QT4/5/6, Cocoa, FpGUI etc) Development, discussions and problems
  • Page:
  • 1

TOPIC:

[bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error. 3 years 7 months ago #13463

  • chulwoong
  • chulwoong's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 2
If I call

inStr := InputBox('Error Test','Please type any string..');


then it raised an exception error.

I checked CT 6.6 and 6.8. I experience the same exception error.

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

[bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error. 3 years 7 months ago #13464

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4443
  • Thank you received: 1074
Thanks Sir

InputBox function has 3 input const ACaption, APrompt, ADefault

unit Dialogs
....
function InputBox(const ACaption, APrompt, ADefault : String) : String;
....


so the correct code is :

inStr :=:= InputBox('Error Test','Please type any string..','DEFAULT INPUT OR NOTHING');
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

[bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error. 3 years 7 months ago #13468

  • chulwoong
  • chulwoong's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 2
For the Win32 Build and Linux build, my codes don't raise the exception error. It only happens with the build for the raspberry pi 1. why is that?
Thanks in advance.

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

[bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error. 3 years 7 months ago #13469

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4443
  • Thank you received: 1074
unit Dialogs is common to ALL OSes
the same and InputBox function
PilotLogic Architect and Core Programmer

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

[bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error. 3 years 5 months ago #13600

  • chulwoong
  • chulwoong's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 2
This is my code.

procedure TForm1.Button1Click(Sender: TObject);
var str : String;
begin
str := InputBox('Input Test', 'Type your string!', 'Test');
ShowMessage(str);
end;

I tried arm-linux-RapberryPi compiler when I made the environment. And this is output.


I tried arm-linux compiler when I made the environment. And this is the output.


Any suggestions?

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

[bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error. 3 years 5 months ago #13601

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4443
  • Thank you received: 1074
Thanks Sir
your CT version ?
PilotLogic Architect and Core Programmer

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

[bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error. 3 years 5 months ago #13624

  • chulwoong
  • chulwoong's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 2
I was building for the raspberry pi and using 6.8, 6.7, 6.6 and 6.5.
I saw this at 6.8, 6.7 and 6.6.

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

Last edit: by chulwoong.

[bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error. 3 years 5 months ago #13625

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4443
  • Thank you received: 1074
Sir
we test on Pi3 with Ubuntu-Mate-arm64
and LAB CodeTyphon 6.90
without any problem.



PilotLogic Architect and Core Programmer
Attachments:

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

Last edit: by Sternas Stefanos.

[bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error. 3 years 5 months ago #13626

  • chulwoong
  • chulwoong's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 2
It looks like older raspberry-pi is not supported.
Good to know and I will upgrade my system to the raspberry-pi3.
Thanks.

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

  • Page:
  • 1